mirror of
https://github.com/bcomnes/deploy-to-neocities.git
synced 2026-03-28 17:21:37 +00:00
Update to the latest async-neocities 4.0
BREAKING CHANGE: api_token action input is renamed to api_key, please update this BREAKING CHANGE: added a required neocities_supporter action input to toggle unsupported file filtering BREAKING CHANGE: addad a preview_before_deploy action input to toggle informational deploy plans prior to deploys BREAKING CHANGE: completely rewrote the underlying library to provide better error handling and reporting BREAKING CHANGE: Remove a bunch of real time stats and progress meters. Deploys were finishing in seconds and these were very complicated to maintain.
This commit is contained in:
20
action.yml
20
action.yml
@@ -4,20 +4,32 @@ branding:
|
||||
icon: aperture
|
||||
color: orange
|
||||
inputs:
|
||||
api_token: # api token for site to deploy to
|
||||
description: 'Neocities API token for site to deploy to'
|
||||
api_key: # api token for site to deploy to
|
||||
description: 'Neocities API key for site to deploy to'
|
||||
required: true
|
||||
dist_dir:
|
||||
description: 'Local folder to deploy to neocities'
|
||||
default: 'public'
|
||||
required: true
|
||||
neocities_supporter:
|
||||
description: 'Set to true if you are a Neocities supporter to bypass file type upload restrictions'
|
||||
default: 'false'
|
||||
required: true
|
||||
cleanup:
|
||||
description: Delete orphaned files on neocities that don't exist in distDir
|
||||
default: false
|
||||
default: 'false'
|
||||
required: true
|
||||
preview_before_deploy:
|
||||
description: 'Set to true if you want to print deploy preview stats prior to deploying.'
|
||||
default: 'true'
|
||||
required: false
|
||||
protected_files:
|
||||
description: A glob string that prevents matched files from ever being deleted.
|
||||
required: false
|
||||
api_token: # api token for site to deploy to
|
||||
description: 'Neocities API key for site to deploy to'
|
||||
required: false
|
||||
deprecationMessage: 'api_token is deprecated, use api_key instead'
|
||||
runs:
|
||||
using: 'node20'
|
||||
main: 'dist/index.js'
|
||||
main: 'dist/index.cjs'
|
||||
|
||||
Reference in New Issue
Block a user