2018-08-16 21:51:28 +00:00
|
|
|
before_script:
|
|
|
|
- mkdir -p ~/.ssh
|
|
|
|
- echo "$deploy_privkey" > deploy.key
|
|
|
|
- export GIT_SSH_COMMAND="ssh -i $PWD/deploy.key"
|
|
|
|
- chmod 600 deploy.key
|
|
|
|
- ssh-keyscan -H 'github.com' >> ~/.ssh/known_hosts
|
2017-08-16 11:56:27 +00:00
|
|
|
nix-shell test:
|
|
|
|
script:
|
2017-08-16 13:10:06 +00:00
|
|
|
- env
|
2017-08-16 11:56:27 +00:00
|
|
|
- nix-shell --pure --command 'true' -p stdenv && echo success
|
|
|
|
- nix-shell --pure --command 'false' -p stdenv || echo success
|
2018-08-16 21:51:28 +00:00
|
|
|
nur-packages makefu:
|
|
|
|
script:
|
|
|
|
- git reset --hard origin/master
|
|
|
|
- git filter-branch -f --prune-empty --subdirectory-filter makefu/5pkgs HEAD
|
|
|
|
- git remote add deploy git@github.com:makefu/nur-packages.git || git remote set-url deploy git@github.com:makefu/nur-packages.git
|
|
|
|
- git push --force deploy HEAD:master
|
2019-04-04 07:14:03 +00:00
|
|
|
- curl -XPOST http://nur-update.herokuapp.com/update?repo=makefu
|
2018-08-16 22:20:50 +00:00
|
|
|
after_script:
|
|
|
|
- rm -f deploy.key
|