# GitLab Continuous Integration and Deployment configuration for the Markdown # course website example, using Nix for the build and publishing through GitLab # Pages. # # Author: Pacien TRAN-GIRARD # Licence: CC BY-NC 4.0 stages: - build - publish flake: stage: build image: nixpkgs/nix-flakes:nixos-22.05 script: - nix build .# - cp -Lr result public artifacts: paths: - public pages: stage: publish only: - main script: echo "nothing to build, just deploying" artifacts: paths: - public