Skip to content
Snippets Groups Projects
Verified Commit 0b5f794e authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: wip new pipeline

parent 6a909554
No related branches found
No related tags found
No related merge requests found
......@@ -50,24 +50,27 @@ web-tests:
artifacts:
paths:
- screenshot.png
rules:
- if: '$CI_COMMIT_TAG == null'
release:
stage: release
tags:
- nixos-gen3
script:
- nix develop .#gitlab --command release
when: on_success
when: on_success
rules:
- if: '$CI_COMMIT_TAG == null'
deploy:
stage: deploy
tags:
- nixos-gen3
script:
- git pull
- nix flake update
- nix develop .#gitlab --command build-and-publish
when: on_success
when: on_success
rules:
- if: '$CI_COMMIT_TAG != null'
\ No newline at end of file
......@@ -78,7 +78,7 @@ in
${pkgs'.git}/bin/git --no-pager log --decorate=short --pretty=oneline -n 5
${pkgs'.git}/bin/git remote set-url origin https://pad:''${GITLAB_TOKEN}@''${CI_REPOSITORY_URL#*@}
${pkgs'.git}/bin/git push -o ci.skip origin "$CI_COMMIT_REF_NAME" --tags
${pkgs'.git}/bin/git push "$CI_COMMIT_REF_NAME" --tags
echo_ok "done"
''
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment