nix-crx/.gitlab-ci.yml

10 lines
403 B
YAML
Raw Normal View History

2022-01-31 01:43:36 +02:00
update:
script:
2022-01-31 01:44:25 +02:00
- nix shell github:NixOS/nixpkgs/nixos-unstable#python3 -c python3 update.py
2022-01-31 01:43:36 +02:00
- git add .
2022-01-31 01:47:52 +02:00
- git config user.email "ci@privatevoid.net"
- git config user.name "CI"
2022-01-31 01:43:36 +02:00
- git commit -m '[CI] Update extensions' || exit 0
2022-01-31 01:55:03 +02:00
- git remote add pushback gitlab@git.privatevoid.net:max/nix-crx.git || true
2022-01-31 01:54:22 +02:00
- GIT_SSH_COMMAND="ssh -i $PUSHBACK_KEY" git push pushback :master