Skip to content

Commit b0f4ca0

Browse files
authored
Change deployment to github actions for github pages (#176)
1 parent e6d827a commit b0f4ca0

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/pages.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
on:
1+
on:
22
push:
33
branches:
44
- main
55
pull_request:
6-
branches:
6+
branches:
77
- "**"
88
jobs:
99
run:
@@ -33,9 +33,7 @@ jobs:
3333
if-no-files-found: error
3434
- name: Deploy
3535
if: ${{ github.ref == 'refs/heads/main'}}
36-
uses: JamesIves/github-pages-deploy-action@4.1.1
37-
env:
38-
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39-
BASE_BRANCH: main # The branch the action should deploy from.
40-
BRANCH: gh-pages # The branch the action should deploy to.
41-
FOLDER: build
36+
uses: peaceiris/actions-gh-pages@v3
37+
with:
38+
github_token: ${{ secrets.GITHUB_TOKEN }}
39+
publish_dir: ./build

0 commit comments

Comments
 (0)