CI: use temp branch
This commit is contained in:
parent
6c552cdff4
commit
10c598c0ab
1 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,10 @@ update:
|
|||
- 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_SSH_COMMAND="ssh -i $PUSHBACK_KEY" git push pushback master
|
||||
- git branch -D master || exit 0
|
||||
|
|
Loading…
Reference in a new issue