Skip to content

Commit

Permalink
trying cache dependency path property
Browse files Browse the repository at this point in the history
  • Loading branch information
danuw committed Dec 29, 2023
1 parent 8bbe72e commit 62e2a95
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/6-jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,20 @@ jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
working-directory: ./casdk-docs
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
cache-dependency-path: ./casdk-docs/yarn.lock

- name: Install dependencies
run: yarn install --frozen-lockfile

working-directory: ./casdk-docs
- name: Build website
run: yarn build
working-directory: ./casdk-docs

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

0 comments on commit 62e2a95

Please sign in to comment.