demo-git-push/.drone.yml

24 lines
444 B
YAML

---
kind: pipeline
type: docker
name: commit something
platform:
os: linux
arch: arm64
steps:
- name: create a random file
image: alpine:3
commands:
- mkdir -p testing
- echo $${RANDOM} > testing/$${RANDOM}
- name: commit and push hints
image: appleboy/drone-git-push
settings:
branch: "${DRONE_BRANCH}"
remote_name: origin
commit: true
commit_message: "[ci-skip] Doing something"