~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 #- devenv shell echo "trigger install"
11 #- curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
12
13# Global builds and stuff
14variables:
15 #DEBUG: "1" # MAY HORRIBLY LEAK SECRETS, PROCEED WITH CAUTION
16 # feature flags
17 FF_ENABLE_COMMIT_DATA: "true"
18 FF_GENERATE_SOCIAL_CARDS: "true"
19 #FF_GIT_COMMITTERS_API: "true"
20 SECURE_FILES_DOWNLOAD_PATH: .secretskit
21 GIT_DEPTH: "0"
22 # dotenvx stuff
23 DOTENV_PRIVATE_KEY: $DOTENV_PRIVATE_KEY_CI
24 MKDOCS_GIT_COMMITTERS_PLUGIN_TOKEN: $CI_JOB_TOKEN
25
26pages:
27 stage: build
28 script:
29 - devenv shell doppler run -- npm run deploy:cf
30 artifacts:
31 paths:
32 # The folder that contains the files to be exposed at the Page URL
33 - public
34 variables:
35 # doppler
36 DOPPLER_TOKEN: $DOPPLER_TOKEN
37 rules:
38 # This ensures that only pushes to the default branch will trigger
39 # a pages deploy
40 - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH