Skip to content

Commit

Permalink
Update build_and_deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlgorithmLX authored Aug 22, 2023
1 parent 5f59173 commit e5d84f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: GitHub Pages
on:
push:
branches:
- gh-pages
- main
pull_request:

jobs:
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/gh-pages'
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build

0 comments on commit e5d84f8

Please sign in to comment.