We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bfd93b commit c59cd09Copy full SHA for c59cd09
.github/workflows/cd-deploy.yml
@@ -37,12 +37,13 @@ jobs:
37
ref: master
38
path: master-content
39
40
- - name: Setup sparse checkout for content from master
41
- run: |
42
- git -C ${{ env.BUILD_PATH }} sparse-checkout init --cone
43
- git -C ${{ env.BUILD_PATH }} sparse-checkout set src/content
44
- git -C ${{ env.BUILD_PATH }} fetch origin master
45
- git -C ${{ env.BUILD_PATH }} checkout origin/master -- src/content
+ - name: Checkout src/content from master
+ uses: actions/checkout@v4
+ with:
+ ref: master
+ path: ${{ env.BUILD_PATH }}/src/content
+ sparse-checkout: |
46
+ src/content
47
48
- name: Setup pnpm
49
uses: pnpm/action-setup@v4
0 commit comments