Skip to content

fixed neocities magbe? #1

fixed neocities magbe?

fixed neocities magbe? #1

name: Deploy MkDocs to Neocities
on:
push:
branches:
- gh-pages
workflow_dispatch:
concurrency: # Prevent concurrent deploys
group: deploy-to-neocities
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
# Step 1: Check out the gh-pages branch
- name: Check out gh-pages branch
uses: actions/checkout@v4
with:
ref: gh-pages
# Step 2: Deploy to Neocities
- name: Deploy to Neocities
uses: bcomnes/deploy-to-neocities@v3
with:
api_key: $NEOCITIES_API_TOKEN # Neocities API token from GitHub secrets
dist_dir: . # Use the current directory since it contains the generated HTML
cleanup: true # Optional: Remove orphaned files on Neocities
preview_before_deploy: true preview_before_deploy: true

Check failure on line 31 in .github/workflows/deploy-to-neocities.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-to-neocities.yml

Invalid workflow file

You have an error in your yaml syntax on line 31