From 9e50be053905a147949f9f7f2963d0d1e75e837f Mon Sep 17 00:00:00 2001 From: ikoamu Date: Sat, 16 Mar 2024 20:27:29 +0900 Subject: add example --- .github/workflows/publish-example.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/publish-example.yml (limited to '.github') 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 -- cgit