Skip to content

Commit d597e43

Browse files
committed
Update deployment action to actions/deploy-pages for permission fix
1 parent 3d2aa72 commit d597e43

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ jobs:
2525
REACT_APP_EMAILJS_SERVICE_ID: ${{ secrets.REACT_APP_EMAILJS_SERVICE_ID }}
2626
REACT_APP_EMAILJS_TEMPLATE_ID: ${{ secrets.REACT_APP_EMAILJS_TEMPLATE_ID }}
2727
REACT_APP_EMAILJS_PUBLIC_KEY: ${{ secrets.REACT_APP_EMAILJS_PUBLIC_KEY }}
28-
- name: Deploy to GitHub Pages
29-
uses: JamesIves/github-pages-deploy-action@v4
28+
- name: Upload Artifact
29+
uses: actions/upload-pages-artifact@v3
3030
with:
31-
folder: build
32-
branch: gh-pages
31+
path: ./build
32+
- name: Deploy to GitHub Pages
33+
id: deployment
34+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)