fix: split up build and deploy steps #2755
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: Deploy to Dev-green (ECS) | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
types: | ||
- synchronize | ||
- labeled | ||
jobs: | ||
deploy: | ||
name: Deploy to Dev-green (ECS) | ||
concurrency: | ||
group: dev-green | ||
if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'deploy-to-dev-green') }} | ||
uses: ./.github/workflows/deploy-base.yml | ||
Check failure on line 16 in .github/workflows/deploy-dev-green.yml GitHub Actions / Deploy to Dev-green (ECS)Invalid workflow file
|
||
with: | ||
env: dev-green | ||
secrets: inherit |