aboutsummaryrefslogtreecommitdiff
path: root/action.yml
blob: 9704b32d5c0d88a4501306cb44fae129e10f9aa1 (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
25
26
27
28
29
30
31
name: "Publish org-roam to GitHub Pages"

runs:
  using: "composite"
  steps:
    - name: "Test"
      run: ls -l
      shell: bash

    # - name: Checkout org-roam-ui
    #    uses: actions/checkout@v4
    #    with:
    #      repository: ikoamu/org-roam-ui
    #      ref: feature/add-export-functionality
    #      path: ui

    # - name: "Test"
    #   run: ls -l
    #   shell: bash

    - name: Setup Node
      uses: actions/setup-node@v3
      with:
        node-version: "20.x"

    # 呼び出し側たworkflowsのディレクトリのパスを取得する
    - name: Get the path of the calling workflow
      id: get_path
      run: |
        echo "::set-output name=path::$(dirname $GITHUB_WORKFLOW)"
      shell: bash