Skip to content

Commit

Permalink
[workflow] Added needs step
Browse files Browse the repository at this point in the history
Wait for build job to complete and then start serve

Signed-off-by: Debadri Samaddar <[email protected]>
  • Loading branch information
debadri16 committed May 3, 2024
1 parent b8fdb19 commit 262e8ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
npm install
serve:
# Runs only after build is completed successfully
needs: build
# Runs on self hosted runner
runs-on: self-hosted
# Steps represent a sequence of tasks that will be executed as part of the job
Expand Down

0 comments on commit 262e8ce

Please sign in to comment.