From 2f174725fe9a1ed301bd249c18cb2c8f7db866d5 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Sat, 28 Jan 2023 13:31:31 +0100 Subject: [PATCH] Fix update workflow --- .gitlab-ci/update.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci/update.yml b/.gitlab-ci/update.yml index 25341fa9..035c94d7 100644 --- a/.gitlab-ci/update.yml +++ b/.gitlab-ci/update.yml @@ -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