Fix #55: create gh-pages dir before copying.
This commit is contained in:
parent
fa99b05b06
commit
6ffbc21921
1 changed files with 2 additions and 0 deletions
|
|
@ -3,6 +3,8 @@
|
||||||
(require '[babashka.fs :as fs]
|
(require '[babashka.fs :as fs]
|
||||||
'[babashka.tasks :refer [shell]])
|
'[babashka.tasks :refer [shell]])
|
||||||
|
|
||||||
|
(fs/create-dirs "gh-pages")
|
||||||
|
|
||||||
(fs/copy "resources/public/index.html" "gh-pages"
|
(fs/copy "resources/public/index.html" "gh-pages"
|
||||||
{:replace-existing true})
|
{:replace-existing true})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue