diff --git a/copy-posts/copy-posts.sh b/copy-posts/copy-posts.sh index 92e0065..23a421e 100755 --- a/copy-posts/copy-posts.sh +++ b/copy-posts/copy-posts.sh @@ -5,6 +5,6 @@ NOTES=$(find Resources/blog/ -type f -not -path "*drafts/*" -name "*.md" ) for n in $NOTES; do BASE=$(basename $n|cut -d'.' -f1) - mkdir -vp cicd_blog/content/posts/$BASE - echo cp -v $n cicd_blog/content/posts/$BASE/index.md + mkdir -vp /tmp/blog/content/posts/$BASE + cp -v $n /tmp/blog/content/posts/$BASE/index.md done