Skip to content

Commit

Permalink
chore(ci): incorrect working directory for docs builder
Browse files Browse the repository at this point in the history
Signed-off-by: Neko Ayaka <[email protected]>
  • Loading branch information
nekomeowww committed Apr 25, 2024
1 parent 505053a commit 91c8f06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/pr-docs-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,10 @@ jobs:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: ${{ secrets.CLOUDFLARE_PROJECT_NAME }}
directory: .vitepress/dist
directory: docs-ubuntu-latest-build
# Optional: Switch what branch you are publishing to.
# By default this will be the branch which triggered this workflow
branch: ${{ env.BRANCH_NAME }}
# Optional: Change the working directory
workingDirectory: docs
# Optional: Change the Wrangler version, allows you to point to a specific version or a tag such as `beta`
wranglerVersion: '3'

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/production-docs-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,11 @@ jobs:
${{ runner.os }}-pnpm-store-
- name: Install dependencies
working-directory: docs
run: pnpm install --frozen-lockfile

- name: Build docs
working-directory: docs
run: |
pnpm docs:build
env:
Expand Down

0 comments on commit 91c8f06

Please sign in to comment.