add commit setting & add comments

This commit is contained in:
Colgrave 2025-01-23 21:22:03 -05:00
parent 8c1ba9597f
commit a95aee169c

View File

@ -19,9 +19,15 @@ steps:
- bash ./script.sh - bash ./script.sh
- 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 image: docker.io/appleboy/drone-git-push
settings: settings:
ssh_key: ssh_key:
from_secret: ssh_key from_secret: ssh_key
remote: git@codeberg.org:<YOUR_GIT_REPO>.git remote: git@codeberg.org:<YOUR_GIT_REPO>.git
branch: main branch: main
commit: true
# force: 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: if you only want generate an empty commit, you can do it using this option