aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/publish-example.yml
blob: 5a944ae5ceba2114abae11003e7f3506db2977dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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