Skip to content

Commit

Permalink
Update docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanton authored Aug 20, 2024
1 parent 48f8144 commit a1ad765
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
push:
branches:
- develop
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
paths:
- 'docs/**' # Only trigger on changes in the /docs directory

jobs:
build:
Expand All @@ -22,13 +22,16 @@ jobs:

- name: Install dependencies
run: yarn install --frozen-lockfile
working-directory: ./docs # Set the working directory to /docs

- name: Build website
run: yarn build
working-directory: ./docs # Set the working directory to /docs

- name: Upload Build Artifact
uses: actions/upload-pages-artifact@v3
with:
path: build
path: docs/build # Adjust the path to the build directory within /docs

deploy:
name: Deploy to GitHub Pages
Expand Down

0 comments on commit a1ad765

Please sign in to comment.