Skip to content

Commit

Permalink
Deploy only on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada committed Jun 29, 2024
1 parent 77e6561 commit a575f3c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
permissions:
#contents: write
contents: read
steps:
- uses: actions/checkout@v4
Expand All @@ -32,7 +31,7 @@ jobs:
path: ./public/

deploy:
##if: ${{ github.ref == 'refs/heads/main' }}
if: ${{ github.ref == 'refs/heads/main' }}
needs: build
runs-on: ubuntu-24.04
permissions:
Expand Down

0 comments on commit a575f3c

Please sign in to comment.