Skip to content
Snippets Groups Projects
Commit 914697b8 authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

Merge branch 'integrate-save-index' into 'develop'

integrate index saving into building stage for branch pipeline

See merge request !348
parents 71ee1b0d 0564ed9d
No related branches found
No related tags found
3 merge requests!350[release] Regular merge of develop,!349Draft: [release] Regular merge of develop,!348integrate index saving into building stage for branch pipeline
Pipeline #52627 passed with warnings
......@@ -68,18 +68,6 @@ 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
# ------------------------------------------------------------------------------------
......@@ -101,6 +89,8 @@ build:pages:
- apt-get install -y -qq git-lfs
- gem install bundler:$BUNDLER_VERSION && bundle install
script:
# copy the index
- cp .tmp/cards.md .
# Generate the configuration for forks (will use Gitlab Pages on personal namespaces)
- |
if [ $CI_MERGE_REQUEST_ID ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment