mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-22 00:13:40 +00:00
ci(global): update CI image tags to use latest commit builds
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
parent
b9683f870d
commit
0bf37f8c53
3 changed files with 4 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
# The Docker image that will be used to build your app
|
# The Docker image that will be used to build your app
|
||||||
image:
|
image:
|
||||||
name: quay.io/ajhalili2006/mkdocs-material-build-ci:nightly
|
name: quay.io/ajhalili2006/mkdocs-material-build-ci:commit-b9683f870d90ffe1a6c2d4d22c69fb8e99322e17
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
checkoutLocation: tildeweb-ajhalili2006
|
checkoutLocation: tildeweb-ajhalili2006
|
||||||
|
|
||||||
image: ghcr.io/ajhalili2006/ajhalili2006.github.io/devenv:commit-8e8a1e4d9dea4af2ffcbe874f44617b7b425788d
|
image: ghcr.io/ajhalili2006/ajhalili2006.github.io/devenv:commit-b9683f870d90ffe1a6c2d4d22c69fb8e99322e17
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- init: |
|
- init: |
|
||||||
|
|
|
@ -7,9 +7,8 @@ FF_ENABLE_COMMIT_DATA=${FF_ENABLE_COMMIT_DATA:-"true"}
|
||||||
FF_GENERATE_SOCIAL_CARDS=${FF_GENERATE_SOCIAL_CARDS:-"true"}
|
FF_GENERATE_SOCIAL_CARDS=${FF_GENERATE_SOCIAL_CARDS:-"true"}
|
||||||
|
|
||||||
if [[ ! -d "$PWD/.venv" && $SKIP_VENV_SETUP == "" ]]; then
|
if [[ ! -d "$PWD/.venv" && $SKIP_VENV_SETUP == "" ]]; then
|
||||||
python3 -m venv $PWD/.venv
|
pipenv install -r requirements.txt
|
||||||
$PWD/.venv/bin/pip3 install -r requirements.txt --upgrade
|
pipenv run -- mkdocs build -d "$TARGET_DIR"
|
||||||
$PWD/.venv/bin/mkdocs build -d "$TARGET_DIR"
|
|
||||||
else
|
else
|
||||||
pip3 install -r requirements.txt --upgrade
|
pip3 install -r requirements.txt --upgrade
|
||||||
mkdocs build -d "$TARGET_DIR"
|
mkdocs build -d "$TARGET_DIR"
|
||||||
|
|
Loading…
Reference in a new issue