Skip to content

Commit

Permalink
chore: rename detect-changes step to preparation since the step basic…
Browse files Browse the repository at this point in the history
…ally preparing the whole deployment environment;
  • Loading branch information
riandyrn committed Jul 12, 2023
1 parent b2b0800 commit 6d5d0f9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- 'docs/**'
branches:
- master
- chore/adjust-pipelines

jobs:
run-test:
Expand All @@ -19,7 +20,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
SOLUTIONS_TEAM_SLACK_WEBHOOK: ${{ secrets.SOLUTIONS_TEAM_SLACK_WEBHOOK }}

detect-changes:
preparation:
name: Prepare Environment
needs: run-test
runs-on: ubuntu-latest
Expand Down Expand Up @@ -49,9 +50,9 @@ jobs:
deploy-game:
name: Deploy Game
needs: detect-changes
needs: preparation
runs-on: ubuntu-latest
if: ${{ needs.detect-changes.outputs.deploy-game == 'true' }}
if: ${{ needs.preparation.outputs.deploy-game == 'true' }}
env:
AWS_REGION: eu-west-1
INFRA_STACK_NAME_DEV: hex-monscape-infras
Expand Down

0 comments on commit 6d5d0f9

Please sign in to comment.