Skip to content

Commit 8bbe72e

Browse files
committed
trying to have the working directory at a higher level
1 parent 21a0e16 commit 8bbe72e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/6-jekyll-gh-pages.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
deploy:
2626
name: Deploy to GitHub Pages
2727
runs-on: ubuntu-latest
28+
working-directory: ./casdk-docs
2829
steps:
2930
- uses: actions/checkout@v2
3031
- uses: actions/setup-node@v3
@@ -34,10 +35,9 @@ jobs:
3435

3536
- name: Install dependencies
3637
run: yarn install --frozen-lockfile
37-
working-directory: ./casdk-docs
38+
3839
- name: Build website
3940
run: yarn build
40-
working-directory: ./casdk-docs
4141

4242
# Popular action to deploy to GitHub Pages:
4343
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
@@ -46,7 +46,7 @@ jobs:
4646
with:
4747
github_token: ${{ secrets.GITHUB_TOKEN }}
4848
# Build output to publish to the `gh-pages` branch:
49-
publish_dir: ./casdk-docs/build
49+
publish_dir: ./build
5050
# The following lines assign commit authorship to the official
5151
# GH-Actions bot for deploys to `gh-pages` branch:
5252
# https://github.com/actions/checkout/issues/13#issuecomment-724415212

0 commit comments

Comments
 (0)