Skip to content

Commit

Permalink
ci: only run some jobs on main
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioLoayzaM committed May 30, 2024
1 parent a080b84 commit bacb27c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
make docs-ci
upload-docs:
# if: success() && github.ref == 'refs/heads/main'
if: success() && github.ref == 'refs/heads/main'
needs: [test,docs]
runs-on: ubuntu-22.04
steps:
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:

pages:
needs: [upload-docs]
# if: success() && github.ref == 'refs/heads/main'
if: success() && github.ref == 'refs/heads/main'
permissions:
pages: write
id-token: write
Expand All @@ -157,7 +157,7 @@ jobs:

build:
needs: [test,docs]
# if: success() && github.ref == 'refs/heads/main'
if: success() && github.ref == 'refs/heads/main'
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
Expand Down

0 comments on commit bacb27c

Please sign in to comment.