mirror of
https://github.com/bcomnes/deploy-to-neocities.git
synced 2026-01-16 14:56:28 +00:00
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.
36 lines
1.2 KiB
YAML
36 lines
1.2 KiB
YAML
name: 'Deploy to Neocities'
|
|
description: 'Efficiently deploy a folder to Neocities.org'
|
|
branding:
|
|
icon: aperture
|
|
color: orange
|
|
inputs:
|
|
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'
|
|
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.cjs'
|