~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: "$CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX/nixos/nix:latest"
4 entrypoint:
5 - /root/.nix-profile/bin/bash
6stages:
7 - test
8 - build
9
10default:
11 before_script:
12 - echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
13 - nix profile remove git-minimal
14 - nix profile install nixpkgs#curl nixpkgs#gitFull nixpkgs#which nixpkgs#ncurses nixpkgs#devenv -vv --show-trace
15 - devenv shell echo "trigger install"
16 - curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
17
18# Global builds and stuff
19variables:
20 #DEBUG: "1" # MAY HORRIBLY LEAK SECRETS, PROCEED WITH CAUTION
21 # feature flags
22 FF_ENABLE_COMMIT_DATA: "true"
23 FF_GENERATE_SOCIAL_CARDS: "true"
24 #FF_GIT_COMMITTERS_API: "true"
25 SECURE_FILES_DOWNLOAD_PATH: .secretskit
26 GIT_DEPTH: "0"
27 # dotenvx stuff
28 DOTENV_PRIVATE_KEY: $DOTENV_PRIVATE_KEY_CI
29 MKDOCS_GIT_COMMITTERS_PLUGIN_TOKEN: $CI_JOB_TOKEN
30
31pages:
32 stage: build
33 script:
34 - devenv shell doppler run -- npm run deploy:cf
35 artifacts:
36 paths:
37 # The folder that contains the files to be exposed at the Page URL
38 - public
39 variables:
40 # doppler
41 DOPPLER_TOKEN: $DOPPLER_TOKEN
42 rules:
43 # This ensures that only pushes to the default branch will trigger
44 # a pages deploy
45 - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH