Fix update workflow
This commit is contained in:
parent
5d15689eec
commit
2f174725fe
1 changed files with 4 additions and 1 deletions
|
@ -38,8 +38,11 @@ commit-and-push:
|
|||
needs:
|
||||
- job: update-flake-lock
|
||||
artifacts: true
|
||||
- job: build
|
||||
- job: build-nixos-configurations
|
||||
script:
|
||||
- url_host=`git remote get-url origin | sed -e "s/https:\/\/gitlab-ci-token:.*@//g"`
|
||||
- git remote set-url origin "https://gitlab-ci-token:${CI_PUSH_TOKEN}@${url_host}"
|
||||
- git add flake.lock
|
||||
- git commit -m "Update dependencies"
|
||||
- git push origin $CI_COMMIT_BRANCH
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue