Skip to content

Commit

Permalink
switch deployment action to built-in GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rbott committed Jan 3, 2024
1 parent 5adf1b2 commit 6305928
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
environment:
name: github-pages
steps:
- uses: actions/checkout@master
- name: Setup Node.js environment
Expand All @@ -20,9 +22,8 @@ jobs:
run: npm install
- name: Build web
run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: _site
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Artifact
uses: actions/update-pages-artifact
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 6305928

Please sign in to comment.