Compare commits

..

4 Commits

Author SHA1 Message Date
Bret Comnes
31f6f49e24 1.0.6 2020-02-18 11:32:32 -07:00
Bret Comnes
106936af61 docs: fix static build 2020-02-18 11:31:44 -07:00
Bret Comnes
2467473b67 1.0.5 2020-02-18 11:27:07 -07:00
Bret Comnes
24cfb5bc53 bug: fix internal stat check bug 2020-02-18 11:26:19 -07:00
3 changed files with 15 additions and 3 deletions

View File

@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
## [v1.0.6](https://github.com/bcomnes/deploy-to-neocities/compare/v1.0.5...v1.0.6) - 2020-02-18
### Commits
- docs: fix static build [`106936a`](https://github.com/bcomnes/deploy-to-neocities/commit/106936af614ae58e7acdf2f8b5df1478860e46b6)
## [v1.0.5](https://github.com/bcomnes/deploy-to-neocities/compare/v1.0.4...v1.0.5) - 2020-02-18
### Commits
- bug: fix internal stat check bug [`24cfb5b`](https://github.com/bcomnes/deploy-to-neocities/commit/24cfb5bc53d4ab90387a5209282f0a30a06a6134)
## [v1.0.4](https://github.com/bcomnes/deploy-to-neocities/compare/v1.0.3...v1.0.4) - 2020-02-18
### Commits

View File

@@ -12,7 +12,7 @@ async function doDeploy () {
const cleanup = JSON.parse(core.getInput('cleanup'))
assert(typeof cleanup === 'boolean', 'Cleanup input must be a boolean "true" or "false"')
const stat = await fsp.stat()
const stat = await fsp.stat(distDir)
assert(stat.isDirectory(), 'dist_dir must be a directory that exists')
const client = new Neocities(token)

View File

@@ -1,6 +1,6 @@
{
"name": "deploy-to-neocities",
"version": "1.0.4",
"version": "1.0.6",
"description": "Github Action to deplpoy a folder to Neocities.org",
"main": "index.js",
"private": true,
@@ -16,7 +16,7 @@
"clean": "rimraf public && mkdirp public",
"build": "npm run clean && run-p build:*",
"build:md": "sitedown . -b public -l layout.html",
"build:static": "cpx 'static/*' public",
"build:static": "cpx './**/*.{png,ico}' public",
"start": "npm run watch",
"watch": "npm run clean && run-p watch:*",
"watch:js": "budo --dir public --live --open",