update ci
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Simon Vieille 2023-08-07 16:53:19 +02:00
parent f9cef9e318
commit 4c3d8e6ef1
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -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]