Skip to content

Commit

Permalink
try deploy the page
Browse files Browse the repository at this point in the history
  • Loading branch information
YuXHe15 committed Aug 15, 2024
1 parent eef767b commit 1f369b0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
on:
push:
branches-ignore:
pull_request:
branches: [ main ]
on: [push, pull_request, workflow_dispatch]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions:
contents: write

env:
CACHE_NUMBER: 1 # increase to reset cache manually
Expand Down Expand Up @@ -52,5 +51,7 @@ jobs:
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html
publish_dir: ./docs/_build/html
force_orphan: true

0 comments on commit 1f369b0

Please sign in to comment.