aboutsummaryrefslogtreecommitdiff
path: root/action.yml
diff options
context:
space:
mode:
authorikoamu <ikoamu@gmail.com>2024-02-04 20:19:50 +0900
committerikoamu <ikoamu@gmail.com>2024-02-04 20:19:50 +0900
commit3633e9c9968df50afbd1a71ea61712e1330c90e2 (patch)
tree87a81a7ecd5bd10ce044d75bdd00ffc2b4c9b78e /action.yml
parent4c4ba2b67cde80f8e20b1b6ce2480788b7134c6d (diff)
Refactor org/img copy command in action.yml
Diffstat (limited to 'action.yml')
-rw-r--r--action.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/action.yml b/action.yml
index 992f3ba..ac1e990 100644
--- a/action.yml
+++ b/action.yml
@@ -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