Skip to content

Commit

Permalink
Update gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cysabi authored Jan 3, 2024
1 parent dc6bb47 commit 377c47c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 18
- uses: enriikke/gatsby-gh-pages-action@v2

- run: npm run build

- uses: peaceiris/actions-gh-pages@v3
with:
access-token: ${{ secrets.ACCESS_TOKEN }}
deploy-branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public

0 comments on commit 377c47c

Please sign in to comment.