Skip to content
Snippets Groups Projects
Commit 3220486f authored by Thomas Wood's avatar Thomas Wood
Browse files

Restore two-cycle update/build pipeline

parent f2b9fd0b
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -9,7 +9,7 @@ update_publications: ...@@ -9,7 +9,7 @@ update_publications:
- git checkout -B ${CI_BUILD_REF_NAME} - git checkout -B ${CI_BUILD_REF_NAME}
- git submodule update --init --remote - git submodule update --init --remote
- git add publications - git add publications
- git commit -m "[AUTO] Updating publications submodule" -m "[ci skip]" || exit 0 - git commit -m "[AUTO] Updating publications submodule" || exit 0
- git remote rm rw || true - git remote rm rw || true
- git remote add rw git@gitlab.doc.ic.ac.uk:${CI_PROJECT_PATH}.git - git remote add rw git@gitlab.doc.ic.ac.uk:${CI_PROJECT_PATH}.git
- eval `ssh-agent` - eval `ssh-agent`
...@@ -40,6 +40,8 @@ build: ...@@ -40,6 +40,8 @@ build:
paths: paths:
- _site/ - _site/
expire_in: 1 day expire_in: 1 day
except:
- triggers
deadlinks: deadlinks:
stage: deploy stage: deploy
...@@ -51,6 +53,8 @@ deadlinks: ...@@ -51,6 +53,8 @@ deadlinks:
script: script:
- bundle exec rake -s --suppress-backtrace . testlinks - bundle exec rake -s --suppress-backtrace . testlinks
allow_failure: true allow_failure: true
except:
- triggers
deploy: deploy:
stage: deploy stage: deploy
...@@ -61,6 +65,8 @@ deploy: ...@@ -61,6 +65,8 @@ deploy:
- auth-rr - auth-rr
only: only:
- master - master
except:
- triggers
variables: variables:
NOKOGIRI_USE_SYSTEM_LIBRARIES: "true" NOKOGIRI_USE_SYSTEM_LIBRARIES: "true"
......
Subproject commit cbaae7971663c2141e1e6123d77c8e2a9fd54f36 Subproject commit 3e5d27ab228d8814a58ee2ffde1134389ec4cf70
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