This commit is contained in:
parent
4c7913cecf
commit
9bf5363fd5
|
@ -1,10 +1,27 @@
|
||||||
steps:
|
steps:
|
||||||
rss:
|
rss:
|
||||||
image: alpine
|
image: alpine/git
|
||||||
commands:
|
commands:
|
||||||
|
- git config --global user.email ci@gitnet.fr
|
||||||
|
- git config --global user.name CI
|
||||||
- apk add curl
|
- apk add curl
|
||||||
- cp README.tpl.md README.md
|
- cp README.tpl.md README.md
|
||||||
- ./bin/rss -f https://www.deblan.io/RSS >> README.md
|
- ./bin/rss -f https://www.deblan.io/RSS >> README.md
|
||||||
- cat README.md
|
- cat README.md
|
||||||
|
- git add .
|
||||||
|
- git commit -m "Build ${CI_BUILD_NUMBER}"
|
||||||
|
when:
|
||||||
|
event: [push, deployment, cron]
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
image: appleboy/drone-git-push
|
||||||
|
commands:
|
||||||
|
settings:
|
||||||
|
branch: pages
|
||||||
|
remote: git@gitnet.fr:deblan/.private.git
|
||||||
|
force: false
|
||||||
|
commit: false
|
||||||
|
ssh_key:
|
||||||
|
from_secret: ssh_priv_key
|
||||||
when:
|
when:
|
||||||
event: [push, deployment, cron]
|
event: [push, deployment, cron]
|
||||||
|
|
Loading…
Reference in a new issue