ci: only run deployment if the actual config files got updated

This commit is contained in:
silver 2023-09-30 23:53:03 +01:00
parent 042c84c5cc
commit a24f6ddb59

View file

@ -74,6 +74,12 @@ update:
- *scripts_base - *scripts_base
rules: rules:
- if: '$CI_PROJECT_NAMESPACE == "compsoc1/skynet" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - if: '$CI_PROJECT_NAMESPACE == "compsoc1/skynet" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes:
- flake.nix
- flake.lock
- applications/**/*
- machines/**/*
- secrets/**/*
build: build:
<<: *builder <<: *builder