diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/publish-example.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/publish-example.yml b/.github/workflows/publish-example.yml new file mode 100644 index 0000000..5a944ae --- /dev/null +++ b/.github/workflows/publish-example.yml @@ -0,0 +1,24 @@ +name: Generate static org-roam-ui page + +on: + push: + branches: + - main + +permissions: + contents: read + pages: write + id-token: write + +jobs: + main: + runs-on: ubuntu-latest + steps: + - name: copy example files + run: cp example/* ./ + - name: Deploy to GitHub Pages + uses: ikoamu/org-roam-ui-hosting@main + with: + org-roam-db-filename: org-roam.db + site-title: publish-org-roam-ui + deploy-to-pages: true |