Skip to content

Commit

Permalink
fix: add working-directory: './website' to:
Browse files Browse the repository at this point in the history
- uses: actions/setup-node@v3
- name: Install dependencies
- name: Build website
- uses: peaceiris/actions-gh-pages@v3
  • Loading branch information
pizofreude committed Oct 25, 2023
1 parent aff8c06 commit f7e7272
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,15 @@ jobs:
node-version: 19
cache: npm
cache-dependency-path: './website/package-lock.json' # The path to your package-lock.json
working-directory: './website'


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

# Popular action to deploy to GitHub Pages:
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
Expand All @@ -40,6 +44,7 @@ jobs:
publish_branch: main
# Build output to publish to the `gh-pages` branch:
publish_dir: ./website/build
working-directory: './website'
# publish_dir: ./build
# The following lines assign commit authorship to the official
# GH-Actions bot for deploys to `gh-pages` branch:
Expand Down

0 comments on commit f7e7272

Please sign in to comment.