diff options
author | ikoamu <ikoamu@gmail.com> | 2024-01-24 00:40:47 +0900 |
---|---|---|
committer | ikoamu <ikoamu@gmail.com> | 2024-01-24 00:40:47 +0900 |
commit | 8ea3f2205116984f5196ea61b5bf11a7c0f165ff (patch) | |
tree | c650e969a2fcc5b2246b466bf493ac0058c8d41d /action.yml | |
parent | 4dc55e673f95418384bed1adf973ed377840d475 (diff) |
Add .gitignore, package.json, action.yml, and generateJson.js files
Diffstat (limited to 'action.yml')
-rw-r--r-- | action.yml | 30 |
1 files changed, 23 insertions, 7 deletions
@@ -3,14 +3,30 @@ name: "Publish org-roam to GitHub Pages" runs: using: "composite" steps: - # 呼び出されたworkflowのリポジトリをチェックアウトし、ファイル一覧を出力する - name: "Checkout" uses: actions/checkout@v4 with: repository: ${{ github.repository }} - path: "repo" - - name: "List files" - run: | - cd repo - find . -type f - shell: bash + path: "orgs" + + - name: Checkout org-roam-ui + uses: actions/checkout@v4 + with: + repository: ikoamu/org-roam-ui + ref: feature/add-export-functionality + path: ui + + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: "20.x" + + - name: Install dependencies + run: npm ci + working-directory: . + + - name: Generate graphdata.json + run: npm run generate --script_params=./orgs/org-roam.db + + - name: print graphdata.json + run: cat graphdata.json |