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:
|
needs:
|
||||||
- job: update-flake-lock
|
- job: update-flake-lock
|
||||||
artifacts: true
|
artifacts: true
|
||||||
- job: build
|
- job: build-nixos-configurations
|
||||||
script:
|
script:
|
||||||
- url_host=`git remote get-url origin | sed -e "s/https:\/\/gitlab-ci-token:.*@//g"`
|
- 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 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