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