mirror of
https://github.com/bcomnes/deploy-to-neocities.git
synced 2026-01-21 08:51:54 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
31f6f49e24 | ||
|
|
106936af61 | ||
|
|
2467473b67 | ||
|
|
24cfb5bc53 |
12
CHANGELOG.md
12
CHANGELOG.md
@@ -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
|
||||
|
||||
2
index.js
2
index.js
@@ -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)
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user