Merge pull request #2 from philspokas/dev-update-workflows #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deployment | ||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
jobs: | ||
deploy-dev: | ||
runs-on: ubuntu-latest | ||
environment: dev | ||
steps: | ||
- run: echo "deploy to prod" | ||
name: deploy | ||
# ...deployment-specific steps | ||
deploy-test: | ||
runs-on: ubuntu-latest | ||
environment: test | ||
depends-on: dev | ||
Check failure on line 22 in .github/workflows/deploy.yml GitHub Actions / DeploymentInvalid workflow file
|
||
steps: | ||
- run: echo "deploy to prod" | ||
name: deploy | ||
# ...deployment-specific steps | ||
deploy-prod: | ||
runs-on: ubuntu-latest | ||
environment: prod | ||
depends-on: test | ||
steps: | ||
- run: echo "deploy to prod" | ||
name: deploy | ||
# ...deployment-specific steps | ||