mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-24 09:23:48 +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
|
||||
artifacts:
|
||||
- web/tildeweb-prod-build.tar.gz
|
||||
- web/gemini-site.tar.gz
|
||||
|
|
|
@ -5,7 +5,6 @@ image:
|
|||
stages:
|
||||
- test
|
||||
- build
|
||||
- sync-repo
|
||||
|
||||
default:
|
||||
tags:
|
||||
|
@ -38,19 +37,13 @@ pages:
|
|||
# This ensures that only pushes to the default branch will trigger
|
||||
# a pages deploy
|
||||
- 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.
|
||||
sync-branch:
|
||||
stage: sync-repo
|
||||
sync-repo:
|
||||
stage: build
|
||||
allow_failure: true
|
||||
variables:
|
||||
GIT_SSH_COMMAND: "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
|
||||
script:
|
||||
- |
|
||||
set -x
|
||||
|
|
Loading…
Reference in a new issue