Skip to content

Commit

Permalink
update with path and v4
Browse files Browse the repository at this point in the history
  • Loading branch information
stakeworld committed Dec 18, 2023
1 parent 7da2aec commit 9fe09f6
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,23 @@ on:
- master
workflow_dispatch:

defaults:
run:
working-directory: website

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: website
- name: setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
cache: yarn
- name: Install dependencies
run: cd website; yarn
run: yarn
- name: Test build website
run: cd website; yarn build
run: yarn build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down

0 comments on commit 9fe09f6

Please sign in to comment.