Update file .gitlab-ci.yml

This commit is contained in:
Ciapa 2023-04-16 20:21:30 +00:00
parent 98d29bd4ba
commit cab1c8e305
1 changed files with 1 additions and 3 deletions

View File

@ -49,8 +49,6 @@ check updates:
- eval "$(ssh-agent -s)"
- chmod 0600 $SSH_UPDATE_KEY
- ssh-add $SSH_UPDATE_KEY
- mkdir -p ~/.ssh
- echo "git.lewd.wtf ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFwrxReUiOwvUq6ZwvsVVZiJbIGhNrfgwMrEXKEW/2t4" > ~/.ssh/known_hosts
- git config --global user.name "NixOS Flake Update"
- git config --global user.email "git@lewd.wtf"
- git remote rm origin && git remote add origin "git@git.lewd.wtf:${CI_PROJECT_PATH}.git"
@ -61,7 +59,7 @@ check updates:
- git checkout -b flakes_update
- git add flake.lock
- git commit -m 'Update NixOS Flakes'
- git push -f --set-upstream origin flakes_update -o merge_request.create
- GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" git push -f --set-upstream origin flakes_update -o merge_request.create
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"