Skip to content
Snippets Groups Projects
Verified Commit 0564ed9d authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

integrate index saving into building stage for branch pipeline

parent 71ee1b0d
No related branches found
No related tags found
No related merge requests found
......@@ -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