Skip to content

Commit

Permalink
ci: added build timeout for infinitely hanging build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
nischalstha9 authored Jul 24, 2024
1 parent 58fc753 commit 9266520
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
build:
name: Build Docker image
runs-on: ubuntu-latest
timeout-minutes: 30
environment:
name: ${{ github.ref_name }}
steps:
Expand Down Expand Up @@ -60,6 +61,7 @@ jobs:

deploy_to_vm:
name: Deploy to VM
timeout-minutes: 15
needs:
- build
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9266520

Please sign in to comment.