Skip to content

Merge pull request #2 from philspokas/dev-update-workflows #1

Merge pull request #2 from philspokas/dev-update-workflows

Merge pull request #2 from philspokas/dev-update-workflows #1

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / Deployment

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 22, Col: 5): Unexpected value 'depends-on' .github/workflows/deploy.yml (Line: 31, Col: 5): Unexpected value 'depends-on'
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