~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: dock.mau.dev/andreijiroh-dev/docker-images/mkdocs-material:latest 4 entrypoint: ["/bin/bash", "-l", "-c"] # https://gitlab.com/gitlab-org/gitlab-runner/-/issues/2109#note_47480476 5 6stages: 7 - test 8 - build 9 10default: 11 tags: 12 - amd64 # currently, we only the image in amd64 right now. 13 # Functions that should be executed before the build script is run 14 before_script: 15 - pipenv install --ignore-pipfile --deploy 16 - npm ci 17 - curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash 18 19# Global builds and stuff 20variables: 21 DEBUG: "1" # MAY HORRIBLY LEAK SECRETS, PROCEED WITH CAUTION 22 FF_ENABLE_COMMIT_DATA: "true" 23 FF_GENERATE_SOCIAL_CARDS: "true" 24 SECURE_FILES_DOWNLOAD_PATH: .secretskit 25 GIT_DEPTH: "0" 26 27pages: 28 stage: build 29 script: 30 - doppler run -- ./bin/deploykit-pages.sh 31 artifacts: 32 paths: 33 # The folder that contains the files to be exposed at the Page URL 34 - public 35 variables: 36 CF_PAGES_PROJECT_NAME: ajhalili2006 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