4 Commits

Author SHA1 Message Date
02d223e087 add a deployment step
Some checks failed
Deploy Quartz site to Pages / build (push) Successful in 37s
Deploy Quartz site to Pages / deploy (push) Failing after 6s
2026-04-12 02:56:24 -05:00
Build Pipeline
cc591fa65a minor version increment [skip actions] 2026-04-12 07:29:25 +00:00
c92e22f38f add metadata
All checks were successful
Deploy Quartz site to Pages / build (push) Successful in 38s
2026-04-12 02:29:14 -05:00
Build Pipeline
608ed7aa56 minor version increment [skip actions] 2026-04-12 07:25:52 +00:00
3 changed files with 23 additions and 2 deletions

View File

@@ -2,6 +2,8 @@ name: Deploy Quartz site to Pages
env: env:
VERSION_FRAGMENT: minor VERSION_FRAGMENT: minor
DEPLOYMENT_NAMESPACE: luxuries
DEPLOYMENT_LABEL: garden
on: on:
push: push:
@@ -79,4 +81,15 @@ jobs:
www.tar.gz www.tar.gz
token: ${{secrets.CI_ACCESS}} token: ${{secrets.CI_ACCESS}}
- run: git push - run: git push
working-directory: content working-directory: content
deploy:
needs: [ build ]
runs-on: ubuntu-latest
steps:
- uses: actions-hub/kubectl@master
env:
KUBE_HOST: https://kubernetes.default.svc/
KUBE_CERTIFICATE: ${{ secrets.KUBE_CERTIFICATE }}
KUBE_TOKEN: ${{ secrets.GARDEN_TOKEN }}
with:
args: delete pods -n ${{env.DEPLOYMENT_NAMESPACE}} -l app=${{ env.DEPLOYMENT_LABEL}}

View File

@@ -1 +1,9 @@
---
title: how the site works
tags:
- nerd-shit
- homelab
---
This obsidian vault is stored in a git repository on my gitea instance. It has a workflow which clones the quartz v4 repository, installs the dependencies, patches it, copies the vault contents into the relevant quartz v4 repo folder, runs the quartz build command, and tar's the build output as a release. I then have an nginx deployment in my k3s cluster that downloads the latest release tar ball, inflates it and serves it in an nginx server. It's a lot more straight forward than you would think. This obsidian vault is stored in a git repository on my gitea instance. It has a workflow which clones the quartz v4 repository, installs the dependencies, patches it, copies the vault contents into the relevant quartz v4 repo folder, runs the quartz build command, and tar's the build output as a release. I then have an nginx deployment in my k3s cluster that downloads the latest release tar ball, inflates it and serves it in an nginx server. It's a lot more straight forward than you would think.

View File

@@ -1 +1 @@
1.15.0 1.17.0