mirror of
https://github.com/bcomnes/deploy-to-neocities.git
synced 2026-03-29 01:31:35 +00:00
docs: Document action, inputs and outputs.
This commit is contained in:
4
index.js
4
index.js
@@ -6,8 +6,8 @@ const ms = require('ms')
|
||||
const assert = require('nanoassert')
|
||||
|
||||
async function doDeploy () {
|
||||
const token = core.getInput('apiToken')
|
||||
const distDir = path.join(process.cwd(), core.getInput('distDir'))
|
||||
const token = core.getInput('api_token')
|
||||
const distDir = path.join(process.cwd(), core.getInput('dist_dir'))
|
||||
const cleanup = JSON.parse(core.getInput('cleanup'))
|
||||
assert(typeof cleanup === 'boolean', 'Cleanup input must be a boolean "true" or "false"')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user