From a899b050d2d1c188d079828365cc9031195c67bf Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Wed, 26 Jul 2023 19:04:08 +0200 Subject: [PATCH] add ci --- .woodpecker.yml | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index c1dad99..5f92df4 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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]