Skip to content

Commit

Permalink
cd to example
Browse files Browse the repository at this point in the history
  • Loading branch information
dibasdauliya committed Aug 19, 2024
1 parent 295a5a1 commit 7de4afd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,21 @@ jobs:
with:
node-version: '16'

- name: Navigate to example directory
run: cd example

- name: Install dependencies
run: npm install
working-directory: example

- name: Build Docusaurus site
run: npm run build
working-directory: example

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: build
path: example/build

deploy:
environment:
Expand All @@ -48,4 +53,4 @@ jobs:
id: deployment
uses: actions/deploy-pages@v1
with:
path: build
path: example/build

0 comments on commit 7de4afd

Please sign in to comment.