Skip to content

Commit feff408

Browse files
authored
ci: retreat to actions/deploy-pages #406
site is totally broken after ec85818
1 parent 12837fc commit feff408

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/deploy.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
# Deployment job
2929
build-and-deploy:
3030
runs-on: ubuntu-latest
31-
permissions:
32-
contents: write
31+
# permissions:
32+
# contents: write
3333
environment:
3434
name: github-pages
3535
url: ${{ steps.deployment.outputs.page_url }}
@@ -43,9 +43,10 @@ jobs:
4343
uses: ./.github/actions/build-site
4444
env:
4545
BASE_URL: "${{ steps.pages.outputs.base_url }}/"
46+
- name: Upload artifact
47+
uses: actions/upload-pages-artifact@v4
48+
with:
49+
path: ./public
4650
- name: Deploy
4751
id: deployment
48-
uses: peaceiris/actions-gh-pages@v4
49-
with:
50-
publish_dir: ./public
51-
github_token: ${{ secrets.GITHUB_TOKEN }}
52+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)