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 - nix --extra-experimental-features 'nix-command flakes' run .#events artifacts: name: "PDFs" paths: - pdf_Handovers/ - pdf_Minutes/ - pdf_Budget/ - pdf_Events/ - errors.log rules: - if: '$CI_PROJECT_NAMESPACE == "compsoc1/compsoc" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' changes: - Committee/**/Handovers/* - Minutes/**/* - Committee/**/Budget/* - Events/**/*