Fix #55: create gh-pages dir before copying. (#91)

* Fix #55: create gh-pages dir before copying.

* Update changelog.
This commit is contained in:
Chris McCormick 2024-11-15 11:24:56 +00:00 committed by GitHub
parent fa99b05b06
commit 6da99ffc90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View file

@ -9,6 +9,7 @@
<!-- - Create Github release with updated links from `doc/links.md` -->
<!-- - `bb gh-pages` -->
- [#55](https://github.com/babashka/babashka/issues/55): create gh-pages dir before using.
- [#89](https://github.com/babashka/babashka/issues/89): allow `evaluate_script_tags` to specify individual scripts.
- [#87](https://github.com/babashka/scittle/issues/87): prod build on fresh checkout fails

View file

@ -3,6 +3,8 @@
(require '[babashka.fs :as fs]
'[babashka.tasks :refer [shell]])
(fs/create-dirs "gh-pages")
(fs/copy "resources/public/index.html" "gh-pages"
{:replace-existing true})