Skip to content

Commit 05d72b2

Browse files
authored
Update deploy-to-neocities.yml
1 parent ddd3c46 commit 05d72b2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- gh-pages
77
workflow_dispatch:
88

9-
concurrency: # Prevent concurrent deploys
9+
concurrency:
1010
group: deploy-to-neocities
1111
cancel-in-progress: true
1212

@@ -15,17 +15,16 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
# Step 1: Check out the gh-pages branch
1918
- name: Check out gh-pages branch
2019
uses: actions/checkout@v4
2120
with:
2221
ref: gh-pages
2322

24-
# Step 2: Deploy to Neocities
23+
2524
- name: Deploy to Neocities
2625
uses: bcomnes/deploy-to-neocities@v3
2726
with:
2827
api_key: ${{ secrets.NEOCITIES_API_TOKEN }}
29-
dist_dir: . # Use the current directory since it contains the generated HTML
30-
cleanup: true # Optional: Remove orphaned files on Neocities
28+
dist_dir: .
29+
cleanup: true
3130
preview_before_deploy: true

0 commit comments

Comments
 (0)