Skip to content

Commit ccdc886

Browse files
fix: set default working directory for docs deployment workflow
1 parent 13503b3 commit ccdc886

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/docs_astro_deploy.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,17 @@ env:
2828
BUILD_PATH: "docs" # default value when not using subfolders
2929
# BUILD_PATH: subfolder
3030

31+
defaults:
32+
run:
33+
working-directory: docs
34+
3135
jobs:
3236
build:
3337
name: Build
3438
runs-on: ubuntu-latest
3539
steps:
3640
- name: Checkout
3741
uses: actions/checkout@v4
38-
with:
39-
sparse-checkout: docs
4042
- name: Detect package manager
4143
id: detect-package-manager
4244
run: |

0 commit comments

Comments
 (0)