aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorikoamu <ikoamu@gmail.com>2024-03-16 20:27:29 +0900
committerikoamu <ikoamu@gmail.com>2024-03-16 20:27:29 +0900
commit9e50be053905a147949f9f7f2963d0d1e75e837f (patch)
tree609a1cb34b04e47cb1105f08c3f10f2b8d7eef48 /.github
parentb22d5d451d887383dd119aa21854458055a0bb5c (diff)
add example
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/publish-example.yml24
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