This commit is contained in:
parent
f9cef9e318
commit
4c3d8e6ef1
|
@ -11,13 +11,13 @@ steps:
|
||||||
- cat README.md
|
- cat README.md
|
||||||
- git status
|
- git status
|
||||||
- git add .
|
- git add .
|
||||||
- git commit -m "Build ${CI_BUILD_NUMBER}"
|
- git commit -m "Build ${CI_BUILD_NUMBER}" || true
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- echo "$SSH_PRIV_KEY" | tr -d '\r' | ssh-add -
|
- echo "$SSH_PRIV_KEY" | tr -d '\r' | ssh-add -
|
||||||
- 'echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
- 'echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
||||||
- git remote add repo git@gitnet.fr:deblan/.profile.git
|
- git remote add repo git@gitnet.fr:deblan/.profile.git
|
||||||
- git push repo main || true
|
- git push repo main
|
||||||
when:
|
when:
|
||||||
event: [deployment, cron]
|
event: [deployment, cron]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue