Skip to content

Commit

Permalink
Merge pull request #8002 from jrjohnson/deploy-timeouts
Browse files Browse the repository at this point in the history
Add Timeouts for Deploys
  • Loading branch information
jrjohnson authored Jul 25, 2024
2 parents 395d6a0 + ab041ac commit b9aebc9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
deploy:
name: Deploy PR Preview
runs-on: ubuntu-latest
timeout-minutes: 60
if: contains(github.event.pull_request.labels.*.name, 'safe to deploy')
steps:
- uses: actions/checkout@v4
Expand All @@ -25,6 +26,7 @@ jobs:
cache: pnpm
- run: pnpm install
- name: Ember CLI Deploy
timeout-minutes: 30
run: pnpm --filter frontend exec ember deploy pr-preview
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
deploy:
name: Deploy and Create Sentry Release
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
Expand All @@ -25,6 +26,7 @@ jobs:
cache: pnpm
- run: pnpm install
- name: Ember CLI Deploy
timeout-minutes: 30
run: pnpm -r run --parallel deploy:production
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
Expand All @@ -23,6 +24,7 @@ jobs:
cache: pnpm
- run: pnpm install
- name: Ember CLI Deploy
timeout-minutes: 30
run: pnpm -r run --parallel deploy:staging
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down

0 comments on commit b9aebc9

Please sign in to comment.