Skip to content

Commit 2a77dc7

Browse files
Cambiar action para hacer deploy a GitHub Pages
1 parent f89c6aa commit 2a77dc7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/node.js.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@ jobs:
1616
yarn install
1717
rm -rf __sapper__
1818
yarn predeploy
19+
1920
- name: Deploy
20-
uses: JamesIves/github-pages-deploy-action@releases/v3
21+
uses: peaceiris/actions-gh-pages@v3
2122
with:
22-
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
23-
BRANCH: master
24-
FOLDER: "__sapper__/export"
23+
github_token: ${{ secrets.GITHUB_TOKEN }}
24+
publish_dir: ./__sapper__/export
25+
publish_branch: master
2526

2627
- name: Archive production artifacts
2728
uses: actions/upload-artifact@v1

0 commit comments

Comments
 (0)