Skip to content
Snippets Groups Projects

save index during branch pipeline

Merged Laurent Heirendt requested to merge laurent.heirendt/howto-cards:save-index into develop
1 file
+ 12
0
Compare changes
  • Side-by-side
  • Inline
+ 12
0
@@ -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
- cp .tmp/cards.md .
# build
# ------------------------------------------------------------------------------------
Loading