stages: - build pdf: tags: - nix before_script: # basic stuff - nix --extra-experimental-features 'nix-command flakes' profile install nixpkgs#bash # setup the cache stuff - nix --extra-experimental-features 'nix-command flakes' profile install nixpkgs#attic-client - attic login skynet https://nix-cache.skynet.ie/ $CACHE_KEY - attic use skynet-cache stage: build # what it runs script: - attic watch-store skynet-cache & - nix --extra-experimental-features 'nix-command flakes' run .#handovers - nix --extra-experimental-features 'nix-command flakes' run .#minutes - nix --extra-experimental-features 'nix-command flakes' run .#budget artifacts: name: "PDFs" paths: - pdf_Handovers/ - pdf_Minutes/ - pdf_Budget/ - errors.log rules: - if: '$CI_PROJECT_NAMESPACE == "compsoc1/compsoc" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' changes: - Committee/**/Handovers/* - Minutes/**/* - Committee/**/Budget/*