Skip to content

Commit 7d77ebd

Browse files
committed
Hotfix github action
1 parent aa6558d commit 7d77ebd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,23 @@ jobs:
2323
with:
2424
node-version: '22'
2525

26-
- name: Move to folder
27-
run: cd docs
28-
2926
- name: Install dependencies
27+
working-directory: ./docs
3028
run: npm i -g pnpm && pnpm i
3129

3230
- name: Build
31+
working-directory: ./docs
3332
run: pnpm run build
3433

3534
- name: Deploy static site to S3 bucket
35+
working-directory: ./docs
3636
if: success()
3737
env:
3838
BUCKET_NAME: ${{ secrets.DOCS_S3_BUCKET }}
3939
run: aws s3 sync ./.vitepress/dist/ s3://$BUCKET_NAME --delete
4040

4141
- name: Invalidate Cloudfront cache
42+
working-directory: ./docs
4243
if: success()
4344
env:
4445
DISTRIBUTION_ID: ${{ secrets.MAINNET_DISTRIBUTION_ID }}

0 commit comments

Comments
 (0)