Compare commits

..

2 Commits

Author SHA1 Message Date
Bret Comnes
c50fdeb3e6 0.0.7 2020-02-13 11:39:55 -07:00
Bret Comnes
48d2e5e4e0 refactor: Remove core calls 2020-02-13 11:39:13 -07:00
3 changed files with 10 additions and 3 deletions

View File

@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
## [v0.0.7](https://github.com/bcomnes/deploy-to-neocities/compare/v0.0.6...v0.0.7) - 2020-02-13
### Commits
- refactor: Remove core calls [`48d2e5e`](https://github.com/bcomnes/deploy-to-neocities/commit/48d2e5e4e064176c8c4d27eddea40d0009446dba)
## [v0.0.6](https://github.com/bcomnes/deploy-to-neocities/compare/v0.0.5...v0.0.6) - 2020-02-13
### Commits

View File

@@ -14,10 +14,10 @@ async function doDeploy () {
const client = new Neocities(token)
const stats = await core.group('Deploying to neocities', client.deploy(distDir, {
const stats = await client.deploy(distDir, {
cleanup,
statsCb: Neocities.statsHandler()
}))
})
console.log(`Deployed to Neocities in ${prettyTime([0, stats.time])}:`)
console.log(` Uploaded ${stats.filesToUpload.length} files`)
@@ -26,5 +26,6 @@ async function doDeploy () {
}
doDeploy().catch(err => {
console.error(err)
core.setFailed(err.message)
})

View File

@@ -1,6 +1,6 @@
{
"name": "deploy-to-neocities",
"version": "0.0.6",
"version": "0.0.7",
"description": "Github Action to deplpoy a folder to Neocities.org",
"main": "index.js",
"private": true,