Skip to content

Commit 53d1367

Browse files
committed
fix: 🐛 Correction in Deploy to GH-Pages [ACTION YML]
1 parent 696496f commit 53d1367

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/gh-pages.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,16 @@ jobs:
4848
with:
4949
cmd: build
5050

51-
- name: SETUP PAGES
52-
uses: actions/configure-pages@v4
53-
5451
- name: RUN UPLOAD ARTIFACT
55-
uses: actions/upload-pages-artifact@v3
52+
uses: actions/upload-artifact@v2
5653
with:
57-
path: "." # Upload entire repository
54+
name: dist
55+
path: dist # Upload entire repository
5856

5957
- name: RUN DEPLOY TO GITHUB-PAGES
60-
id: deployment
61-
uses: actions/deploy-pages@v4
62-
# with:
63-
# cname: thiagosaud.dev
58+
uses: peaceiris/actions-gh-pages@v3
59+
with:
60+
github_token: ${{ secrets.GH_PAGES_DEPLOY_TOKEN }}
61+
publish_branch: gh-pages
62+
publish_dir: ./dist
63+
#cname: thiagosaud.dev

0 commit comments

Comments
 (0)