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

Update variables to GitLab 9 names

parent 89a61803
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -6,7 +6,7 @@ stages:
update_publications:
stage: update
script:
- git checkout -B ${CI_BUILD_REF_NAME}
- git checkout -B ${CI_COMMIT_REF_NAME}
- git submodule update --init --remote
- git add publications
- git commit -m "[AUTO] Updating publications submodule" || exit 0
......@@ -14,7 +14,7 @@ update_publications:
- git remote add rw git@gitlab.doc.ic.ac.uk:${CI_PROJECT_PATH}.git
- eval `ssh-agent`
- echo "$PUSH_KEY" | ssh-add -
- git push rw ${CI_BUILD_REF_NAME}
- git push rw ${CI_COMMIT_REF_NAME}
variables:
GIT_AUTHOR_NAME: Resource Reasoning Group Backup Bot
GIT_COMMITTER_NAME: Resource Reasoning Group Backup Bot
......
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