~ajhalili2006's personal website, built with Zensical (successor of Material for Mkdocs) [old repo name got bugged while attempting to do manual knot migration via repo deletion]
andreijiroh.dev
zensical
mkdocs-material
website
1# The Docker image that will be used to build your app
2image:
3 name: ghcr.io/cachix/devenv/devenv:latest
4stages:
5 - test
6 - build
7
8default:
9 before_script:
10 - nix profile install nixpkgs#curl nixpkgs#gitFull nixpkgs#which nixpkgs#ncurses --experimental-features "nix-command flakes" -vv --show-trace
11 - devenv shell echo "trigger install"
12 - curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
13
14# Global builds and stuff
15variables:
16 #DEBUG: "1" # MAY HORRIBLY LEAK SECRETS, PROCEED WITH CAUTION
17 # feature flags
18 FF_ENABLE_COMMIT_DATA: "true"
19 FF_GENERATE_SOCIAL_CARDS: "true"
20 #FF_GIT_COMMITTERS_API: "true"
21 SECURE_FILES_DOWNLOAD_PATH: .secretskit
22 GIT_DEPTH: "0"
23 # dotenvx stuff
24 DOTENV_PRIVATE_KEY: $DOTENV_PRIVATE_KEY_CI
25 MKDOCS_GIT_COMMITTERS_PLUGIN_TOKEN: $CI_JOB_TOKEN
26
27pages:
28 stage: build
29 script:
30 - devenv shell doppler run -- npm run deploy:cf
31 artifacts:
32 paths:
33 # The folder that contains the files to be exposed at the Page URL
34 - public
35 variables:
36 # doppler
37 DOPPLER_TOKEN: $DOPPLER_TOKEN
38 rules:
39 # This ensures that only pushes to the default branch will trigger
40 # a pages deploy
41 - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH