Skip to content

Commit

Permalink
website: deploy config
Browse files Browse the repository at this point in the history
  • Loading branch information
marihachi committed Jul 23, 2023
1 parent 7b52904 commit 45191c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@ jobs:
with:
node-version: 18

- run: cd website

- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
path: ~/website/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-

- name: Install dependencies
run: npm ci
working-directory: ./website

- name: Build
run: npm run build
working-directory: ./website

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
publish_dir: ./website/build

0 comments on commit 45191c0

Please sign in to comment.