mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-21 16:13:38 +00:00
chore(ci): more CI-related changes
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
parent
fa076e53d7
commit
c036dfb082
2 changed files with 5 additions and 11 deletions
|
@ -58,3 +58,4 @@ tasks:
|
||||||
SOURCEHUT_PAGES_TOKEN=${OAUTH2_TOKEN} PRIVATE_SSH_KEY=~/.ssh/passwordless-auth-sshfs ./bin/deploy-gmi.sh
|
SOURCEHUT_PAGES_TOKEN=${OAUTH2_TOKEN} PRIVATE_SSH_KEY=~/.ssh/passwordless-auth-sshfs ./bin/deploy-gmi.sh
|
||||||
artifacts:
|
artifacts:
|
||||||
- web/tildeweb-prod-build.tar.gz
|
- web/tildeweb-prod-build.tar.gz
|
||||||
|
- web/gemini-site.tar.gz
|
||||||
|
|
|
@ -5,7 +5,6 @@ image:
|
||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
- build
|
- build
|
||||||
- sync-repo
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
tags:
|
tags:
|
||||||
|
@ -38,19 +37,13 @@ pages:
|
||||||
# This ensures that only pushes to the default branch will trigger
|
# This ensures that only pushes to the default branch will trigger
|
||||||
# a pages deploy
|
# a pages deploy
|
||||||
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
||||||
.pages:srht:
|
|
||||||
stage: build
|
|
||||||
needs:
|
|
||||||
- pages
|
|
||||||
script:
|
|
||||||
- doppler run -- ./bin/deploykit-gmi.sh
|
|
||||||
rules:
|
|
||||||
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
||||||
|
|
||||||
# TODO: Automate this over at mirrors/cronjobs soon.
|
# TODO: Automate this over at mirrors/cronjobs soon.
|
||||||
sync-branch:
|
sync-repo:
|
||||||
stage: sync-repo
|
stage: build
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
variables:
|
||||||
|
GIT_SSH_COMMAND: "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
set -x
|
set -x
|
||||||
|
|
Loading…
Reference in a new issue