nix-crx/.drone.yml
2021-03-17 21:01:27 +01:00

24 lines
510 B
YAML

kind: pipeline
type: exec
name: Update extensions
platform:
os: linux
arch: amd64
steps:
- name: Update
commands:
- python3 update.py
- name: Commit changes
environment:
GIT_AUTHOR_NAME: Drone
GIT_AUTHOR_EMAIL: drone@bots.void
DRONE_DEPLOY_KEY:
from_secret: drone-deploy-key
commands:
- git add .
- git commit -m '[CI] Update extensions' || exit 0
- git remote add pushback https://drone:$DRONE_DEPLOY_KEY@git.privatevoid.net/max/nix-crx.git
- git push pushback master