Skip to content

Commit

Permalink
CI: Deploy only from main
Browse files Browse the repository at this point in the history
  • Loading branch information
SMoraisDev committed Jul 26, 2024
1 parent 194fd8c commit a3b9af9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
run: |
ls -R version/dev
- name: Deploy to gh-pages branch
if: contains(github.ref, 'refs/heads/main')
uses: JamesIves/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit a3b9af9

Please sign in to comment.