ci: added this to the pipeline

This commit is contained in:
silver 2023-07-23 02:31:32 +01:00
parent ac2c63d124
commit 82ef3c44ed

16
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,16 @@
stages:
- deploy
# from https://docs.gitlab.com/ee/ci/pipelines/multi_project_pipelines.html
# so simple to deploy now
nixos:
stage: deploy
variables:
PACKAGE_NAME: "skynet_website_2016"
UPDATE_FLAKE: "yes"
trigger: compsoc/skynet/nixos
rules:
- if: $CI_COMMIT_TAG
when: never
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: on_success