Skip to content

Commit 0cbc78e

Browse files
committed
ci(pages): use GitHub Pages actions for user site; rename package
1 parent 3a91409 commit 0cbc78e

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,14 @@ jobs:
2929
- name: Build the app
3030
run: npm run build
3131

32-
- name: Deploy to GitHub Pages
33-
uses: peaceiris/actions-gh-pages@v3
32+
- name: Configure GitHub Pages
33+
uses: actions/configure-pages@v3
34+
35+
- name: Upload artifact for GitHub Pages
36+
uses: actions/upload-pages-artifact@v1
3437
with:
35-
github_token: ${{ secrets.GITHUB_TOKEN }}
36-
publish_dir: ./dist
38+
path: ./dist
39+
40+
- name: Deploy to GitHub Pages
41+
id: deploy
42+
uses: actions/deploy-pages@v1

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "3dfolio",
2+
"name": "khemssharma.github.io",
33
"private": true,
44
"version": "0.0.0",
55
"type": "module",

0 commit comments

Comments
 (0)