diff --git a/Butane/.woodpecker/butane.yaml b/Butane/.woodpecker/butane.yaml index 74e04e0..99ae6d0 100644 --- a/Butane/.woodpecker/butane.yaml +++ b/Butane/.woodpecker/butane.yaml @@ -19,9 +19,15 @@ steps: - bash ./script.sh - 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 settings: ssh_key: from_secret: ssh_key remote: git@codeberg.org:.git 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 diff --git a/Git/.woodpecker.yaml b/Git/.woodpecker.yaml index 8de0f95..97cc261 100644 --- a/Git/.woodpecker.yaml +++ b/Git/.woodpecker.yaml @@ -1,6 +1,8 @@ # Git/.woodpecker.yaml # # CI step to automatic synchronization with an upstream repository. +# +# [drone-git-push](https://github.com/appleboy/drone-git-push) when: event: [cron, manual] @@ -16,9 +18,15 @@ steps: - git merge upstream/main - 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 settings: ssh_key: from_secret: ssh_key - remote: git@codeberg.org: + remote: git@codeberg.org:.git 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