Skip to content

Commit

Permalink
Give up on github-pages-deploy-action and switch to official actions/…
Browse files Browse the repository at this point in the history
…deploy-pages instead
  • Loading branch information
DestyNova committed May 14, 2024
1 parent ce69168 commit 73707f6
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/build-and-deploy-gh-pages.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: mkdir build

- name: Setup and build
uses: actions/setup-node@v4
with:
Expand All @@ -31,9 +32,14 @@ jobs:
- run: ./build.sh
- run: pwd && ls && ls build

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
- name: Setup Pages
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
folder: build
force: true
clean: true
path: 'build'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 73707f6

Please sign in to comment.