mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2025-06-07 13:09:32 +00:00
chore(global): some CI script fix for Gemini deployments
Also added some scripts to Pipfile and minimal update to FAQ page. Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
This commit is contained in:
parent
beb0d74b0d
commit
c88c2e5519
5 changed files with 32 additions and 6 deletions
|
@ -3,6 +3,7 @@ image:
|
|||
name: quay.io/ajhalili2006/mkdocs-material-build-ci:nightly
|
||||
|
||||
stages:
|
||||
- test
|
||||
- build
|
||||
|
||||
default:
|
||||
|
@ -10,16 +11,18 @@ default:
|
|||
- amd64 # currently, we only the image in amd64 right now.
|
||||
# Functions that should be executed before the build script is run
|
||||
before_script:
|
||||
- pipenv install
|
||||
- pipenv sync --verbose
|
||||
- npm ci
|
||||
- curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
|
||||
|
||||
# Global builds and stuff
|
||||
variables:
|
||||
DEBUG: "1"
|
||||
DEBUG: "1" # MAY HORRIBLY LEAK SECRETS, PROCEED WITH CAUTION
|
||||
FF_ENABLE_COMMIT_DATA: "true"
|
||||
FF_GENERATE_SOCIAL_CARDS: "true"
|
||||
SECURE_FILES_DOWNLOAD_PATH: /run/secrets
|
||||
GIT_DEPTH: "0"
|
||||
PIPENV_SYSTEM: "true" # do system pip management since we're inside containers
|
||||
|
||||
pages:
|
||||
stage: build
|
||||
|
@ -40,7 +43,6 @@ pages:srht:
|
|||
needs:
|
||||
- pages
|
||||
script:
|
||||
- tar -C gmi -cvz . -f site.tar.gz
|
||||
- doppler run -- ./bin/deploykit-gmi.sh
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue