mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-21 11:35:41 -04:00
(ci) prevent optionally mounted calendar directory to be deleted during build
This commit is contained in:
parent
405d1e7c8c
commit
a4df325703
@ -101,6 +101,9 @@ build:
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_PROTECTED == 'true'
|
||||
image: node:22.14.0
|
||||
variables:
|
||||
# calendar can be mounted to supply its containing build-time sources
|
||||
GIT_CLEAN_FLAGS: '-fx -e calendar'
|
||||
script:
|
||||
# see https://docs.gitlab.com/ee/ci/jobs/ssh_keys.html#ssh-keys-when-using-the-docker-executor
|
||||
- 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )'
|
||||
|
Loading…
x
Reference in New Issue
Block a user