Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.07 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.07 KB

Deploy to Neocities

An action that deploys a local directory from a workflow to Neocities.

Usage

- name: Deploy to Neocities
  # Don't use master, use a full 40 character commit hash, e.g.,
  # jonchang/deploy-neocities@deadbeef...
  uses: jonchang/deploy-neocities@master
  with:
    # Required, to access Neocities API.
    # https://neocities.org/settings
    # Set in Settings -> Secrets
    key: ${{ secrets.NEOCITIES_API_KEY }}
    # Required, local directory to deploy to Neocities
    dir: _site
    # Optional, if true, delete remote files not present locally
    clean: false

Caveats

  • Can be slow for large sites.

See also