25 lines
510 B
YAML
25 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
|