deploy-to-neocities/action.yml
Bret Comnes 18ba72a8f3
Update action runtime to node20
BREAKING CHANGE: run using node20 action runtime.

Closes https://github.com/bcomnes/deploy-to-neocities/issues/174
2024-04-04 11:33:32 -07:00

24 lines
675 B
YAML

name: 'Deploy to Neocities'
description: 'Efficiently deploy a folder to Neocities.org'
branding:
icon: aperture
color: orange
inputs:
api_token: # api token for site to deploy to
description: 'Neocities API token for site to deploy to'
required: true
dist_dir:
description: 'Local folder to deploy to neocities'
default: 'public'
required: true
cleanup:
description: Delete orphaned files on neocities that don't exist in distDir
default: false
required: true
protected_files:
description: A glob string that prevents matched files from ever being deleted.
required: false
runs:
using: 'node20'
main: 'dist/index.js'