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,7 +50,8 @@ web-tests: ...@@ -50,7 +50,8 @@ web-tests:
artifacts: artifacts:
paths: paths:
- screenshot.png - screenshot.png
rules:
- if: '$CI_COMMIT_TAG == null'
release: release:
stage: release stage: release
...@@ -59,15 +60,17 @@ release: ...@@ -59,15 +60,17 @@ release:
script: script:
- nix develop .#gitlab --command release - nix develop .#gitlab --command release
when: on_success when: on_success
rules:
- if: '$CI_COMMIT_TAG == null'
deploy: deploy:
stage: deploy stage: deploy
tags: tags:
- nixos-gen3 - nixos-gen3
script: script:
- git pull
- nix flake update
- nix develop .#gitlab --command build-and-publish - 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 ...@@ -78,7 +78,7 @@ in
${pkgs'.git}/bin/git --no-pager log --decorate=short --pretty=oneline -n 5 ${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 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" echo_ok "done"
'' ''
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment