-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (36 loc) · 963 Bytes
/
neocities.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Compile and deploy
on:
push:
branches:
- main
concurrency:
group: deploy-in-neocities
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout live branch
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install deps and build
run: |
npm i
npm run build
- name: Generate sitemap
uses: cicirello/generate-sitemap@v1
with:
base-url-path: https://plurkipedia.neocities.org/
path-to-root: public
drop-html-extension: true
- name: Deploy to neocities
uses: bcomnes/deploy-to-neocities@v3
with:
api_key: ${{ secrets.NEOCITIES_API_TOKEN }}
cleanup: true
dist_dir: public # specify the directory where your site is built