Skip to content

Commit

Permalink
ci: Fix typo in workflows (#1582)
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo authored Mar 13, 2023
1 parent 4dbff2c commit c4ada14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
# Start deploy --------------------------------------------------
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3.9.0
if: github.event_name == 'push' && github.ref == 'main'
if: github.event_name == 'push' && github.ref_name == 'main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: website/build
Expand Down

0 comments on commit c4ada14

Please sign in to comment.