Skip to content

Commit ec85818

Browse files
authored
ci: use peaceiris/actions-gh-pages #401
Problem: `actions/deploy-pages` explicitly excludes dot-prefixed directories, so `.well-known/atproto-did` is not published even though it definitely exists in `public/`. ref actions/deploy-pages#203 fix #397 Solution: Use `peaceiris/actions-gh-pages` instead.
1 parent 6f37849 commit ec85818

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/hugo.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,11 @@ jobs:
4545
with:
4646
submodules: recursive
4747
fetch-depth: 0
48+
# TODO: is this needed?
4849
- name: Setup Pages
4950
id: pages
5051
uses: actions/configure-pages@v5
52+
# TODO: is this needed?
5153
- name: Install Node.js dependencies
5254
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
5355
- name: Build with Hugo
@@ -76,4 +78,7 @@ jobs:
7678
steps:
7779
- name: Deploy to GitHub Pages
7880
id: deployment
79-
uses: actions/deploy-pages@v4
81+
uses: peaceiris/actions-gh-pages@v4
82+
with:
83+
github_token: ${{ secrets.GITHUB_TOKEN }}
84+
publish_dir: ./public

0 commit comments

Comments
 (0)