move update script to path
This commit is contained in:
parent
ce347c2bf9
commit
53532617c2
2 changed files with 2 additions and 4 deletions
|
@ -2,6 +2,4 @@ FROM alpine/git
|
||||||
|
|
||||||
RUN apk add --no-cache curl
|
RUN apk add --no-cache curl
|
||||||
|
|
||||||
ADD update /update
|
ADD update /bin/update
|
||||||
|
|
||||||
ENTRYPOINT /bin/sh
|
|
||||||
|
|
|
@ -12,5 +12,5 @@ update:
|
||||||
- git config --global user.email "git@git.fginfo.tu-bs.de"
|
- git config --global user.email "git@git.fginfo.tu-bs.de"
|
||||||
- git config --global user.name "Gitlab CI"
|
- git config --global user.name "Gitlab CI"
|
||||||
script:
|
script:
|
||||||
- /update < pads.txt
|
- update < pads.txt
|
||||||
- git push "https://gitlab-ci-token:${CI_ACCESS_TOKEN}@${CI_REPOSITORY_URL#*@}" "HEAD:${CI_COMMIT_REF_NAME}" -o skip-ci
|
- git push "https://gitlab-ci-token:${CI_ACCESS_TOKEN}@${CI_REPOSITORY_URL#*@}" "HEAD:${CI_COMMIT_REF_NAME}" -o skip-ci
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue