mirror of
https://gitea.com/gitea/homebrew-gitea.git
synced 2024-06-02 10:11:26 +05:30
38 lines
691 B
YAML
38 lines
691 B
YAML
---
|
|
kind: pipeline
|
|
name: update_version
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|
|
event:
|
|
- cron
|
|
cron:
|
|
- update_version
|
|
|
|
steps:
|
|
- name: update
|
|
image: alpine:3.17
|
|
pull: always
|
|
commands:
|
|
- apk add --no-cache curl
|
|
- ./bump_version.sh
|
|
|
|
- name: push
|
|
image: appleboy/drone-git-push:0.2.3-linux-amd64
|
|
pull: always
|
|
settings:
|
|
author_email: "teabot@gitea.io"
|
|
author_name: GiteaBot
|
|
branch: main
|
|
commit: true
|
|
commit_message: "[skip ci] Updated Version via cron"
|
|
remote: "git@gitea.com:gitea/homebrew-gitea.git"
|
|
environment:
|
|
GIT_PUSH_SSH_KEY:
|
|
from_secret: git_push_ssh_key
|