Skip to content

Commit

Permalink
Update main-pipeline.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmdksh authored Aug 3, 2023
1 parent 21b72f0 commit 321930e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
Expand Down Expand Up @@ -55,6 +58,7 @@ jobs:
publish:
needs: test
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:
- name: Check out the repo
uses: actions/checkout@v2
Expand All @@ -74,6 +78,7 @@ jobs:
deploy:
needs: publish
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:
- name: Production deploy
uses: garygrossgarten/[email protected]
Expand Down

0 comments on commit 321930e

Please sign in to comment.