From 50247a80ea1a427bf1f23ee85439833de981931f Mon Sep 17 00:00:00 2001 From: vorotamoroz Date: Sun, 12 Jul 2026 12:05:05 +0000 Subject: [PATCH] Deploy QR aggregator with GitHub Pages --- .github/workflows/deploy-pages.yml | 67 ++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 .github/workflows/deploy-pages.yml diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml new file mode 100644 index 0000000..e96c4c6 --- /dev/null +++ b/.github/workflows/deploy-pages.yml @@ -0,0 +1,67 @@ +name: Deploy GitHub Pages + +on: + workflow_dispatch: + push: + branches: + - main + paths: + - 'aggregator.html' + - '.github/workflows/deploy-pages.yml' + pull_request: + paths: + - 'aggregator.html' + - '.github/workflows/deploy-pages.yml' + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: pages + cancel-in-progress: false + +jobs: + build: + name: Validate and package Pages site + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Validate aggregator + run: | + test -s aggregator.html + grep -Fq '' aggregator.html + grep -Fq 'obsidian://setuplivesync?settingsQR=' aggregator.html + sed -n '/