diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 89e70d8f57f72c8a1a7c6d91a5f6cec31ad1e908..443b18d28625863af8f8f4f8e484ab7c105b75c0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -68,6 +68,18 @@ save:commitIndex: - git push origin $CI_COMMIT_REF_NAME || true - git branch -D tmpBranch || true +save:copyIndex: + image: + name: alpine/git:latest + entrypoint: [""] + stage: save + rules: + - if: $CI_COMMIT_REF_NAME + script: + # copy the index and remove the temporary directory + - cp .tmp/cards.md . + + # build # ------------------------------------------------------------------------------------