Skip to content

Commit 4b9b4aa

Browse files
committed
update deploy gh pages action
1 parent 1d54a91 commit 4b9b4aa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish-to-gh-pages.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
- name: Configure domain
3030
uses: finnp/[email protected]
3131
env:
32-
FILE_NAME: "dist/CNAME"
32+
FILE_NAME: "build/CNAME"
3333
FILE_DATA: ${{ secrets.CUSTOM_DOMAIN }}
3434
- name: Deploy 🚀
35-
uses: JamesIves/github-pages-deploy-action@3.7.1
35+
uses: JamesIves/github-pages-deploy-action@v4
3636
with:
3737
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38-
BRANCH: gh-pages # The branch the action should deploy to.
39-
FOLDER: build # The folder the action should deploy.
40-
CLEAN: true # Automatically remove deleted files from the deploy branch
38+
branch: gh-pages # The branch the action should deploy to.
39+
folder: build # The folder the action should deploy.
40+
clean: true # Automatically remove deleted files from the deploy branch

0 commit comments

Comments
 (0)