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

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

View file

@ -8,7 +8,6 @@ steps:
- apk add wget - apk add wget
- cp README.tpl.md README.md - cp README.tpl.md README.md
- ./bin/rss -f https://www.deblan.io/RSS | head -n 10 >> README.md - ./bin/rss -f https://www.deblan.io/RSS | head -n 10 >> README.md
- cat README.md
- git status - git status
- git add . - git add .
- git commit -m "Build ${CI_BUILD_NUMBER}" || true - git commit -m "Build ${CI_BUILD_NUMBER}" || true
@ -17,7 +16,7 @@ steps:
- 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 - git push repo main || true
when: when:
event: [deployment, cron] event: [deployment, cron]