This commit is contained in:
9
.gitea/workflows/build.yml
Normal file → Executable file
9
.gitea/workflows/build.yml
Normal file → Executable file
@@ -18,7 +18,6 @@ jobs:
|
||||
QUARTZ_HOME: /home/zaine/Documents/quartz
|
||||
SERVICE_NAME: quartz-notes.service
|
||||
SUDO_PASSWORD: ${{ secrets.SUDO_PASSWORD }}
|
||||
THEME_NAME: tokyo-night
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -42,13 +41,13 @@ jobs:
|
||||
git -C "$VAULT_HOME" checkout main
|
||||
git -C "$VAULT_HOME" pull --ff-only origin main
|
||||
|
||||
- name: Fetch Quartz Theme
|
||||
- name: Update Quartz source
|
||||
run: |
|
||||
set -euo pipefail
|
||||
|
||||
cd "$QUARTZ_HOME"
|
||||
curl -s -S https://raw.githubusercontent.com/saberzero1/quartz-themes/master/action.sh | bash -s -- "$THEME_NAME"
|
||||
grep -q '^@use "./themes";' quartz/styles/custom.scss || printf '\n@use "./themes";\n' >> quartz/styles/custom.scss
|
||||
git -C "$QUARTZ_HOME" fetch origin main
|
||||
git -C "$QUARTZ_HOME" checkout main
|
||||
git -C "$QUARTZ_HOME" pull --ff-only origin main
|
||||
|
||||
- name: Build Quartz
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user