nix-crx/.gitlab-ci.yml
2022-01-31 00:04:04 +00:00

13 lines
535 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 || exit 0
- 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 || exit 0