aboutsummaryrefslogtreecommitdiff
path: root/action.yml
diff options
context:
space:
mode:
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