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 e2c1d54 commit 666a569
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 @@ -52,6 +55,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 @@ -71,6 +75,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 666a569

Please sign in to comment.