From 82ef3c44edfc77fdeae01f9b62f9d875d9377846 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sun, 23 Jul 2023 02:31:32 +0100 Subject: [PATCH] ci: added this to the pipeline --- .gitlab-ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..c7d4fb2 --- /dev/null +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file