Skip to content

Commit d459808

Browse files
committed
update ghpage
1 parent 657391f commit d459808

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/gh-pages.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ on:
66
- main # Set a branch name to trigger deployment
77
jobs:
88
deploy:
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-22.04
1010
permissions:
1111
contents: write
1212
concurrency:
1313
group: ${{ github.workflow }}-${{ github.ref }}
1414
env:
1515
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
with:
1919
context: .
2020
submodules: true
@@ -38,9 +38,14 @@ jobs:
3838
make html
3939
# cp source/index_replace.html build/html/index.html
4040
- name: Deploy
41-
uses: peaceiris/actions-gh-pages@v3
41+
uses: peaceiris/actions-gh-pages@v4
4242
if: ${{ github.ref == 'refs/heads/main' }}
4343
with:
4444
context: .
4545
github_token: ${{ secrets.GITHUB_TOKEN }}
4646
publish_dir: ./docs
47+
publish_branch: gh-pages
48+
enable_jekyll: false
49+
allow_empty_commit: true
50+
keep_files: false
51+
force_orphan: true

0 commit comments

Comments
 (0)