Skip to content

Add files via upload #32

Add files via upload

Add files via upload #32

Workflow file for this run

on:
push:
branches:
- main # Only trigger on changes to the 'main' branch
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy to Neocities
steps:
# Checkout the repository
- name: Checkout
uses: actions/checkout@v4
# Deploy to Neocities
- name: Deploy to Neocities
uses: bcomnes/deploy-to-neocities@v3
with:
api_key: ${{ secrets.NEOCITIES_API_TOKEN }} # Use secret for Neocities API key
cleanup: true # Set to true to remove orphaned files on Neocities
neocities_supporter: false # Set to true if you have a supporter account
preview_before_deploy: true # Optional: preview the deployment plan before applying
dist_dir: '.' # Deploy everything from the root directory