Skip to content

Commit 9a711ac

Browse files
author
Anebix
committed
fixed neocities magbe?
1 parent 1f7230b commit 9a711ac

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ name: Deploy MkDocs to Neocities
33
on:
44
push:
55
branches:
6-
- gh-pages # Trigger only on changes to the gh-pages branch
7-
6+
- gh-pages
7+
workflow_dispatch:
8+
89
concurrency: # Prevent concurrent deploys
910
group: deploy-to-neocities
1011
cancel-in-progress: true
@@ -24,7 +25,7 @@ jobs:
2425
- name: Deploy to Neocities
2526
uses: bcomnes/deploy-to-neocities@v3
2627
with:
27-
api_key: ${{ secrets.NEOCITIES_API_TOKEN }} # Neocities API token from GitHub secrets
28+
api_key: $NEOCITIES_API_TOKEN # Neocities API token from GitHub secrets
2829
dist_dir: . # Use the current directory since it contains the generated HTML
2930
cleanup: true # Optional: Remove orphaned files on Neocities
30-
preview_before_deploy: true
31+
preview_before_deploy: true preview_before_deploy: true

0 commit comments

Comments
 (0)