.profile/.woodpecker.yml

28 lines
673 B
YAML
Raw Normal View History

2023-07-26 18:25:22 +02:00
steps:
rss:
2023-07-26 18:46:13 +02:00
image: alpine/git
2023-07-26 18:25:22 +02:00
commands:
2023-07-26 18:46:13 +02:00
- git config --global user.email ci@gitnet.fr
- git config --global user.name CI
2023-07-26 18:25:22 +02:00
- apk add curl
2023-07-26 18:41:57 +02:00
- cp README.tpl.md README.md
- ./bin/rss -f https://www.deblan.io/RSS >> README.md
- cat README.md
2023-07-26 18:46:13 +02:00
- git add .
- git commit -m "Build ${CI_BUILD_NUMBER}"
when:
event: [push, deployment, cron]
deploy:
image: appleboy/drone-git-push
commands:
settings:
2023-07-26 18:53:59 +02:00
branch: main
2023-07-26 18:47:02 +02:00
remote: git@gitnet.fr:deblan/.profile.git
2023-07-26 18:46:13 +02:00
force: false
commit: false
ssh_key:
from_secret: ssh_priv_key
2023-07-26 18:25:22 +02:00
when:
2023-07-26 18:41:57 +02:00
event: [push, deployment, cron]