add environment option
This commit is contained in:
parent
a970f3744c
commit
adf59afc29
@ -83,4 +83,4 @@ jobs:
|
||||
echo " StrictHostKeyChecking no" >> ~/.ssh/config
|
||||
|
||||
- name: Deploy
|
||||
run: vendor/bin/dep deploy environment=${{ inputs.environment }}
|
||||
run: vendor/bin/dep deploy environment="${{ inputs.environment }}"
|
||||
|
@ -11,13 +11,14 @@ jobs:
|
||||
deploy:
|
||||
uses: your-repo/.github/workflows/deploy.yml@main
|
||||
with:
|
||||
environment: production
|
||||
image: your-custom-image
|
||||
node-package-manager: npm
|
||||
frontend-directory: frontend
|
||||
composer-args: --no-dev
|
||||
secrets:
|
||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
env: ${{ secrets.ENV_CONTENT }}
|
||||
ssh-private-key: ${{ secrets.PRODUCTION_SSH_PRIVATE_KEY }}
|
||||
env: ${{ secrets.PRODUCTION }}
|
||||
```
|
||||
|
||||
### Secrets
|
||||
|
Loading…
x
Reference in New Issue
Block a user