add ci
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Simon Vieille 2023-07-26 19:04:08 +02:00
parent 99888e8e78
commit a899b050d2
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -1,6 +1,7 @@
steps:
rss:
image: alpine/git
secrets: [ssh_priv_key]
commands:
- git config --global user.email ci@gitnet.fr
- git config --global user.name CI
@ -10,18 +11,19 @@ steps:
- cat README.md
- git add .
- git commit -m "Build ${CI_BUILD_NUMBER}"
- echo "$SSH_PRIV_KEY" | tr -d '\r' | ssh-add -
when:
event: [push, deployment, cron]
deploy:
image: appleboy/drone-git-push
commands:
settings:
branch: main
remote: git@gitnet.fr:deblan/.profile.git
force: false
commit: false
ssh_key:
from_secret: ssh_priv_key
when:
event: [push, deployment, cron]
# deploy:
# image: appleboy/drone-git-push
# commands:
# settings:
# branch: main
# remote: git@gitnet.fr:deblan/.profile.git
# force: false
# commit: false
# ssh_key:
# from_secret: ssh_priv_key
# when:
# event: [push, deployment, cron]