Skip to content

Commit

Permalink
ci: fix deploy action cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
nvlang committed Jun 29, 2024
1 parent 1288de9 commit 6a075c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,16 @@ jobs:
deploy:
runs-on: ubuntu-latest

defaults:
run:
working-directory: ./docs

name: Deploy to Cloudflare Pages

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set working directory
run: cd docs

- uses: pnpm/action-setup@v4
name: Install pnpm
with:
Expand All @@ -39,7 +40,6 @@ jobs:
cache-dependency-path: ./pnpm-lock.yaml

- name: Install dependencies
working-directory: docs
run: pnpm install

- name: Build
Expand Down

0 comments on commit 6a075c0

Please sign in to comment.