Skip to content

Commit

Permalink
CI: test sparse-checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
rediris committed Nov 13, 2024
1 parent 3ea2159 commit 3360961
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,16 @@ jobs:
with:
fetch-depth: 0
ref: api/dev
# sparse-checkout: |
# .github/workflows/**
# src/_data/**.js
# src/_data/**.yml
# src/pages/api/**.njk
# src/_includes/modules/api-config.njk
# !src/scss
# !src/js
# sparse-checkout-cone-mode: false
sparse-checkout: |
.github/workflows/**
src/_data/**.js
src/_data/**.yml
src/pages/api/**.njk
/src/_includes/modules/api-config.njk
sparse-checkout-cone-mode: false
- name: Reset develop branch
run: |
git fetch origin develop
git reset --hard
git pull origin develop
git checkout develop
git sparse-checkout set --no-cone '.github/workflows/**' 'src/_data/**.js' 'src/_data/**.yml' 'src/pages/api/**.njk' '/src/_includes/modules/api-config.njk'
- name: set datestamp
Expand Down

0 comments on commit 3360961

Please sign in to comment.