Skip to content

Commit 5780cec

Browse files
committed
Migrate to peaceiris/actions-gh-pages
1 parent cdbd79d commit 5780cec

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/docs.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ jobs:
3434
landing-page:
3535
name: Landing page
3636
runs-on: ubuntu-latest
37-
permissions:
38-
contents: write # For publishing landing page
3937
steps:
4038
- name: Harden the runner (Audit all outbound calls)
4139
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
@@ -59,9 +57,9 @@ jobs:
5957

6058
- name: Publish
6159
if: github.ref == 'refs/heads/main'
62-
uses: tsunematsu21/actions-publish-gh-pages@c04b531c52b8f9d25c596bc6e6a7ddc116b2f3f8 # v1.0.2
60+
uses: peaceiris/actions-gh-pages@4b09552702d0b65573696410d4707c765da2630b # v4.0.0
6361
with:
64-
dir: doc/landing-page/_build/html
65-
repo: dfetch-org/dfetch-org.github.io
66-
branch: main
67-
token: ${{ secrets.GH_DFETCH_ORG_DEPLOY }}
62+
publish_dir: ./doc/landing-page/_build/html
63+
external_repository: dfetch-org/dfetch-org.github.io
64+
publish_branch: main
65+
deploy_key: ${{ secrets.GH_DFETCH_ORG_DEPLOY }}

0 commit comments

Comments
 (0)