nix-crx/.gitlab-ci.yml

10 lines
433 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 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