build(deps): bump actions/cache from 4 to 5 (#2862) #1661
This file contains hidden or 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
| # Deploy to dev on merge or push into main | |
| name: "Deploy: main branch" | |
| on: | |
| push: | |
| branches: [main] | |
| concurrency: | |
| group: dev | |
| cancel-in-progress: true | |
| jobs: | |
| auto: | |
| # Skip this workflow if the commit message contains "AUTOMATED TRANSLATIONS" | |
| if: ${{ !contains(github.event.head_commit.message, 'AUTOMATED TRANSLATIONS') }} | |
| uses: ./.github/workflows/use-deploy-ecs.yml | |
| with: | |
| deployment-env: dev | |
| secrets: | |
| aws-account-id: ${{ secrets.TID_AWS_ACCOUNT_ID }} | |
| aws-role-arn: ${{ secrets.AWS_ROLE_ARN }} | |
| docker-repo: ${{ secrets.DOCKER_REPO }} | |
| notify: | |
| needs: [auto] | |
| uses: ./.github/workflows/use-notify-slack.yml | |
| if: ${{ !cancelled() }} | |
| secrets: | |
| slack-webhook: ${{ secrets.SLACK_WEBHOOK }} | |
| with: | |
| job-status: ${{ needs.auto.result }} | |
| success-message: | | |
| :ballot_box_with_check: `dev` updated to latest commit on main | |
| failure-message: | | |
| :ballot_box_with_check: `dev` not updated to latest commit on main |