13 lines
531 B
YAML
13 lines
531 B
YAML
update:
|
|
script:
|
|
- nix shell github:NixOS/nixpkgs/nixos-unstable#python3 -c python3 update.py
|
|
- git add .
|
|
- git config user.email "ci@privatevoid.net"
|
|
- git config user.name "CI"
|
|
- git branch -D master || true
|
|
- git checkout -b master
|
|
- git commit -m '[CI] Update extensions' || exit 0
|
|
- git remote add pushback gitlab@git.privatevoid.net:max/nix-crx.git || true
|
|
- chmod 400 $PUSHBACK_KEY
|
|
- GIT_SSH_COMMAND="ssh -i $PUSHBACK_KEY" git push pushback master
|
|
- git branch -D master || true
|