mirror of
https://codeberg.org/Codeberg-CI/examples.git
synced 2025-09-12 21:35:25 -04:00
add commit setting & add comments
This commit is contained in:
parent
c4d86379fd
commit
63a8fb04f8
@ -1,6 +1,8 @@
|
|||||||
# Git/.woodpecker.yaml
|
# Git/.woodpecker.yaml
|
||||||
#
|
#
|
||||||
# CI step to automatic synchronization with an upstream repository.
|
# CI step to automatic synchronization with an upstream repository.
|
||||||
|
#
|
||||||
|
# [drone-git-push](https://github.com/appleboy/drone-git-push)
|
||||||
|
|
||||||
when:
|
when:
|
||||||
event: [cron, manual]
|
event: [cron, manual]
|
||||||
@ -16,9 +18,15 @@ steps:
|
|||||||
- git merge upstream/main
|
- git merge upstream/main
|
||||||
|
|
||||||
- name: push
|
- name: push
|
||||||
|
# for more information about plugin settings, please refer to
|
||||||
|
# https://github.com/appleboy/drone-git-push/blob/master/DOCS.md
|
||||||
image: docker.io/appleboy/drone-git-push:latest
|
image: docker.io/appleboy/drone-git-push:latest
|
||||||
settings:
|
settings:
|
||||||
ssh_key:
|
ssh_key:
|
||||||
from_secret: ssh_key
|
from_secret: ssh_key
|
||||||
remote: git@codeberg.org:<YOUR_REPO>
|
remote: git@codeberg.org:<YOUR_REPO>.git
|
||||||
branch: main
|
branch: main
|
||||||
|
commit: true
|
||||||
|
# force: boolean, force push using the `--force` flag, defaults to false
|
||||||
|
# commit_message: add a custom message for commit, if it is omitted, it will be `[skip ci] Commit dirty state`
|
||||||
|
# empty_commit: boolean, if you only want generate an empty commit, you can do it using this option
|
||||||
|
Loading…
x
Reference in New Issue
Block a user