diff options
author | ikoamu <ikoamu@gmail.com> | 2024-02-04 20:19:50 +0900 |
---|---|---|
committer | ikoamu <ikoamu@gmail.com> | 2024-02-04 20:19:50 +0900 |
commit | 3633e9c9968df50afbd1a71ea61712e1330c90e2 (patch) | |
tree | 87a81a7ecd5bd10ce044d75bdd00ffc2b4c9b78e /action.yml | |
parent | 4c4ba2b67cde80f8e20b1b6ce2480788b7134c6d (diff) |
Refactor org/img copy command in action.yml
Diffstat (limited to 'action.yml')
-rw-r--r-- | action.yml | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -52,9 +52,12 @@ runs: working-directory: action run: ./create_notes.sh ../orgs shell: bash - - name: Copy org/img to ui/public/img + - name: Copy org/img to ui/public/ working-directory: action - run: cp -r ../orgs/img ../ui/public/img + run: | + if [ -d "../orgs/img" ]; then + cp -r ../orgs/img ../ui/public + fi shell: bash # build org-roam-ui |