mirror of
https://github.com/bcomnes/deploy-to-neocities.git
synced 2026-01-21 17:01:54 +00:00
Compare commits
80 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8f42b3ee86 | ||
|
|
bad0c3f219 | ||
|
|
2646c89cd5 | ||
|
|
0ae51ffae1 | ||
|
|
c25e33f18b | ||
|
|
bb890ff252 | ||
|
|
f820123729 | ||
|
|
c3fff5a08e | ||
|
|
caf523c406 | ||
|
|
5cb799d25b | ||
|
|
2ef70d4399 | ||
|
|
2631bd5284 | ||
|
|
b95020bc09 | ||
|
|
ebf5da81f1 | ||
|
|
8667c08673 | ||
|
|
d4d1e30a4d | ||
|
|
0827633ad8 | ||
|
|
567f5ef326 | ||
|
|
1bf3a685c6 | ||
|
|
34c40454fe | ||
|
|
5ef89ceeaa | ||
|
|
6b85bf5162 | ||
|
|
48dc557fed | ||
|
|
88fe06ede7 | ||
|
|
dabda0324f | ||
|
|
faf51f5f7d | ||
|
|
5f0065b0a9 | ||
|
|
7c37474912 | ||
|
|
ef422e5147 | ||
|
|
575a80ba11 | ||
|
|
ea0ff75438 | ||
|
|
9585d46d52 | ||
|
|
2c28e60268 | ||
|
|
f5f3138f2b | ||
|
|
7fda3b4091 | ||
|
|
097a63047c | ||
|
|
8919ab9606 | ||
|
|
ea5c33baa1 | ||
|
|
be65ce5f7f | ||
|
|
3b8bfee4f4 | ||
|
|
e0de604edf | ||
|
|
c7eb1d1c7c | ||
|
|
ca3d623967 | ||
|
|
72ceca59e8 | ||
|
|
b10b0992fc | ||
|
|
0eaad18494 | ||
|
|
f163816b89 | ||
|
|
e096631c4a | ||
|
|
0b1632f9fd | ||
|
|
62b83828a1 | ||
|
|
21f9abb428 | ||
|
|
0a6154e90e | ||
|
|
893771475d | ||
|
|
f98d6708aa | ||
|
|
cc060f3a7f | ||
|
|
3fddf1336a | ||
|
|
18f7a05bdf | ||
|
|
1b5bf0ef26 | ||
|
|
f5e58fbc36 | ||
|
|
25bb465f66 | ||
|
|
2d3b570b10 | ||
|
|
a6e7d86f22 | ||
|
|
58657605f4 | ||
|
|
788869d157 | ||
|
|
a41d678561 | ||
|
|
f1223126d0 | ||
|
|
b97c4bebd8 | ||
|
|
8fce8c4bb6 | ||
|
|
93af74f45b | ||
|
|
e285292494 | ||
|
|
7304be8189 | ||
|
|
96cab61350 | ||
|
|
612eaa3c01 | ||
|
|
b6e88c0383 | ||
|
|
f417d42694 | ||
|
|
a9b4f04af1 | ||
|
|
786c98ee8d | ||
|
|
2761a4b538 | ||
|
|
2faa8345a8 | ||
|
|
ae4abd7e27 |
6
.github/workflows/neocities.yml
vendored
6
.github/workflows/neocities.yml
vendored
@@ -7,10 +7,10 @@ on:
|
|||||||
- master
|
- master
|
||||||
|
|
||||||
env:
|
env:
|
||||||
FORCE_COLOR: 2
|
FORCE_COLOR: 1
|
||||||
node_version: lts/*
|
node_version: lts/*
|
||||||
|
|
||||||
concurrency: # prevent concurrent deploys doing starnge things
|
concurrency: # prevent concurrent deploys doing strange things
|
||||||
group: deploy-to-neocities
|
group: deploy-to-neocities
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
# Set up any tools and build steps here
|
# Set up any tools and build steps here
|
||||||
# This example uses a Node.js toolchain to build a site
|
# This example uses a Node.js toolchain to build a site
|
||||||
- name: Use Node.js
|
- name: Use Node.js
|
||||||
|
|||||||
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@@ -9,7 +9,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
node_version: lts/*
|
node_version: lts/*
|
||||||
FORCE_COLOR: 2
|
FORCE_COLOR: 1
|
||||||
|
|
||||||
concurrency: # prevent concurrent releases
|
concurrency: # prevent concurrent releases
|
||||||
group: npm-bump
|
group: npm-bump
|
||||||
@@ -19,18 +19,18 @@ jobs:
|
|||||||
version_and_release:
|
version_and_release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
# fetch full history so things like auto-changelog work properly
|
# fetch full history so things like auto-changelog work properly
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.node_version }}
|
node-version: ${{ env.node_version }}
|
||||||
# setting a registry enables the NODE_AUTH_TOKEN env variable where we can set an npm token. REQUIRED
|
# setting a registry enables the NODE_AUTH_TOKEN env variable where we can set an npm token. REQUIRED
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
- run: npm i
|
- run: npm i
|
||||||
- run: npm test
|
- run: npm test
|
||||||
- uses: bcomnes/npm-bump@v2.1.0
|
- uses: bcomnes/npm-bump@v2.2.1
|
||||||
with:
|
with:
|
||||||
git_email: bcomnes@gmail.com
|
git_email: bcomnes@gmail.com
|
||||||
git_username: ${{ github.actor }}
|
git_username: ${{ github.actor }}
|
||||||
|
|||||||
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@@ -3,7 +3,7 @@ name: tests
|
|||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
FORCE_COLOR: 2
|
FORCE_COLOR: 1
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
@@ -15,9 +15,9 @@ jobs:
|
|||||||
node: [lts/*]
|
node: [lts/*]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Use Node.js ${{ matrix.node }}
|
- name: Use Node.js ${{ matrix.node }}
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ matrix.node }}
|
||||||
- run: npm i
|
- run: npm i
|
||||||
|
|||||||
96
CHANGELOG.md
96
CHANGELOG.md
@@ -7,7 +7,99 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
||||||
|
|
||||||
## [v1.1.13](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.12...v1.1.13)
|
## [v1.1.21](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.20...v1.1.21)
|
||||||
|
|
||||||
|
### Merged
|
||||||
|
|
||||||
|
- chore(deps-dev): bump @siteup/cli from 4.0.1 to 5.0.0 [`#163`](https://github.com/bcomnes/deploy-to-neocities/pull/163)
|
||||||
|
- chore(deps): bump actions/setup-node from 3 to 4 [`#162`](https://github.com/bcomnes/deploy-to-neocities/pull/162)
|
||||||
|
|
||||||
|
### Commits
|
||||||
|
|
||||||
|
- Update node in actions and rebuild [`bad0c3f`](https://github.com/bcomnes/deploy-to-neocities/commit/bad0c3f21924f957bd2d41156f9ae9894e8d01a1)
|
||||||
|
|
||||||
|
## [v1.1.20](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.19...v1.1.20) - 2023-10-22
|
||||||
|
|
||||||
|
### Merged
|
||||||
|
|
||||||
|
- chore(deps-dev): bump @siteup/cli from 2.2.11 to 3.1.0 [`#161`](https://github.com/bcomnes/deploy-to-neocities/pull/161)
|
||||||
|
|
||||||
|
### Commits
|
||||||
|
|
||||||
|
- Update async-neocities to 2.1.6 [`f820123`](https://github.com/bcomnes/deploy-to-neocities/commit/f8201237291216a53f9c4dde35c46a65a8ea534d)
|
||||||
|
|
||||||
|
## [v1.1.19](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.18...v1.1.19) - 2023-09-30
|
||||||
|
|
||||||
|
### Merged
|
||||||
|
|
||||||
|
- chore(deps): bump @actions/core from 1.10.0 to 1.10.1 [`#159`](https://github.com/bcomnes/deploy-to-neocities/pull/159)
|
||||||
|
- Update neocities.yml [`#158`](https://github.com/bcomnes/deploy-to-neocities/pull/158)
|
||||||
|
- chore(deps): bump actions/checkout from 3 to 4 [`#157`](https://github.com/bcomnes/deploy-to-neocities/pull/157)
|
||||||
|
|
||||||
|
## [v1.1.18](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.17...v1.1.18) - 2023-08-31
|
||||||
|
|
||||||
|
### Merged
|
||||||
|
|
||||||
|
- chore(deps-dev): bump esbuild from 0.18.20 to 0.19.0 [`#154`](https://github.com/bcomnes/deploy-to-neocities/pull/154)
|
||||||
|
- Update README.md [`#153`](https://github.com/bcomnes/deploy-to-neocities/pull/153)
|
||||||
|
|
||||||
|
### Commits
|
||||||
|
|
||||||
|
- Neocities badge [`0827633`](https://github.com/bcomnes/deploy-to-neocities/commit/0827633ad88c495adaa304fb68bb1ef422973659)
|
||||||
|
- Merge pull request #152 from bcomnes/dependabot/npm_and_yarn/minimatch-9.0.3 [`6b85bf5`](https://github.com/bcomnes/deploy-to-neocities/commit/6b85bf5162547159b92547d1e79f96e5996d2e96)
|
||||||
|
- chore(deps): bump minimatch from 9.0.2 to 9.0.3 [`48dc557`](https://github.com/bcomnes/deploy-to-neocities/commit/48dc557fed2d40506be024f40ef9c4045d82781a)
|
||||||
|
|
||||||
|
## [v1.1.17](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.16...v1.1.17) - 2023-06-27
|
||||||
|
|
||||||
|
### Commits
|
||||||
|
|
||||||
|
- Prune example URLs [`dabda03`](https://github.com/bcomnes/deploy-to-neocities/commit/dabda0324f7965b65951d021c1e99bc10d640903)
|
||||||
|
|
||||||
|
## [v1.1.16](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.15...v1.1.16) - 2023-06-26
|
||||||
|
|
||||||
|
### Merged
|
||||||
|
|
||||||
|
- chore(deps-dev): bump esbuild from 0.17.19 to 0.18.0 [`#149`](https://github.com/bcomnes/deploy-to-neocities/pull/149)
|
||||||
|
- chore(deps): bump minimatch from 9.0.0 to 9.0.1 [`#146`](https://github.com/bcomnes/deploy-to-neocities/pull/146)
|
||||||
|
- chore(deps): bump minimatch from 7.4.2 to 7.4.3 [`#140`](https://github.com/bcomnes/deploy-to-neocities/pull/140)
|
||||||
|
- chore(deps): bump bcomnes/npm-bump from 2.1.0 to 2.2.1 [`#139`](https://github.com/bcomnes/deploy-to-neocities/pull/139)
|
||||||
|
- chore(deps): bump minimatch from 7.2.0 to 7.4.2 [`#138`](https://github.com/bcomnes/deploy-to-neocities/pull/138)
|
||||||
|
- chore(deps): bump minimatch from 7.1.1 to 7.2.0 [`#136`](https://github.com/bcomnes/deploy-to-neocities/pull/136)
|
||||||
|
- chore(deps): bump minimatch from 7.0.1 to 7.1.0 [`#134`](https://github.com/bcomnes/deploy-to-neocities/pull/134)
|
||||||
|
- Update README.md [`#131`](https://github.com/bcomnes/deploy-to-neocities/pull/131)
|
||||||
|
- chore(deps): bump minimatch from 7.0.0 to 7.0.1 [`#132`](https://github.com/bcomnes/deploy-to-neocities/pull/132)
|
||||||
|
- chore(deps): bump minimatch from 6.2.0 to 7.0.0 [`#130`](https://github.com/bcomnes/deploy-to-neocities/pull/130)
|
||||||
|
- chore(deps): bump minimatch from 6.1.8 to 6.2.0 [`#129`](https://github.com/bcomnes/deploy-to-neocities/pull/129)
|
||||||
|
- chore(deps): bump minimatch from 6.1.6 to 6.1.8 [`#128`](https://github.com/bcomnes/deploy-to-neocities/pull/128)
|
||||||
|
- chore(deps): bump minimatch from 6.1.5 to 6.1.6 [`#123`](https://github.com/bcomnes/deploy-to-neocities/pull/123)
|
||||||
|
- Add my site [`#122`](https://github.com/bcomnes/deploy-to-neocities/pull/122)
|
||||||
|
|
||||||
|
### Commits
|
||||||
|
|
||||||
|
- Merge pull request #151 from bcomnes/dependabot/npm_and_yarn/minimatch-9.0.2 [`5f0065b`](https://github.com/bcomnes/deploy-to-neocities/commit/5f0065b0a9cb3627bee2fce1890f6335aeb15bf6)
|
||||||
|
- Remove packages [`8919ab9`](https://github.com/bcomnes/deploy-to-neocities/commit/8919ab9606c90d47193ddca8159b5540ae38923f)
|
||||||
|
- chore(deps): bump minimatch from 9.0.1 to 9.0.2 [`7c37474`](https://github.com/bcomnes/deploy-to-neocities/commit/7c37474912a72b54f851a1152ef2f52111927181)
|
||||||
|
|
||||||
|
## [v1.1.15](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.14...v1.1.15) - 2023-01-18
|
||||||
|
|
||||||
|
### Merged
|
||||||
|
|
||||||
|
- chore(deps): bump minimatch from 6.1.3 to 6.1.5 [`#121`](https://github.com/bcomnes/deploy-to-neocities/pull/121)
|
||||||
|
|
||||||
|
## [v1.1.14](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.13...v1.1.14) - 2023-01-17
|
||||||
|
|
||||||
|
### Merged
|
||||||
|
|
||||||
|
- chore(deps-dev): bump mkdirp from 1.0.4 to 2.1.1 [`#118`](https://github.com/bcomnes/deploy-to-neocities/pull/118)
|
||||||
|
- chore(deps): bump minimatch from 5.1.2 to 6.0.4 [`#117`](https://github.com/bcomnes/deploy-to-neocities/pull/117)
|
||||||
|
|
||||||
|
### Commits
|
||||||
|
|
||||||
|
- test build [`b6e88c0`](https://github.com/bcomnes/deploy-to-neocities/commit/b6e88c0383e2e7a2b6f71afd4ab109681eec3dba)
|
||||||
|
- Switch to esbuild [`f417d42`](https://github.com/bcomnes/deploy-to-neocities/commit/f417d42694329e4a2863c587f0d2889fd691da1c)
|
||||||
|
- Revert "chore(deps): bump minimatch from 5.1.2 to 6.0.4" [`2761a4b`](https://github.com/bcomnes/deploy-to-neocities/commit/2761a4b53809f85506d8c9388e2bd7f4ff0ae58b)
|
||||||
|
|
||||||
|
## [v1.1.13](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.12...v1.1.13) - 2022-12-21
|
||||||
|
|
||||||
### Merged
|
### Merged
|
||||||
|
|
||||||
@@ -163,8 +255,8 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|||||||
|
|
||||||
### Commits
|
### Commits
|
||||||
|
|
||||||
- Update site build and ncc [`def67b4`](https://github.com/bcomnes/deploy-to-neocities/commit/def67b48c6e28d4544d8dd2bd92ab53f56856e40)
|
|
||||||
- Fix static deploy stuff with bandaid [`fea2d47`](https://github.com/bcomnes/deploy-to-neocities/commit/fea2d4780c7a98bcdf5738c1c259d66ff115326a)
|
- Fix static deploy stuff with bandaid [`fea2d47`](https://github.com/bcomnes/deploy-to-neocities/commit/fea2d4780c7a98bcdf5738c1c259d66ff115326a)
|
||||||
|
- Update site build and ncc [`def67b4`](https://github.com/bcomnes/deploy-to-neocities/commit/def67b48c6e28d4544d8dd2bd92ab53f56856e40)
|
||||||
|
|
||||||
## [v1.1.1](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.0...v1.1.1) - 2021-08-20
|
## [v1.1.1](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.0...v1.1.1) - 2021-08-20
|
||||||
|
|
||||||
|
|||||||
13
README.md
13
README.md
@@ -4,6 +4,7 @@
|
|||||||
[](https://github.com/bcomnes/deploy-to-neocities/actions)
|
[](https://github.com/bcomnes/deploy-to-neocities/actions)
|
||||||

|

|
||||||
[](https://github.com/marketplace/actions/deploy-to-neocities)
|
[](https://github.com/marketplace/actions/deploy-to-neocities)
|
||||||
|
[![Neocities][neocities-img]](https://deploy-to-neocities.neocities.org)
|
||||||
|
|
||||||
<center><img src="static/logo.png"></center>
|
<center><img src="static/logo.png"></center>
|
||||||
|
|
||||||
@@ -71,7 +72,7 @@ You most likely only want to run this on the `master` branch so that only change
|
|||||||
### Inputs
|
### Inputs
|
||||||
|
|
||||||
- `api_token` (**REQUIRED**): The API token for your [Neocities][nc] website to deploy to.
|
- `api_token` (**REQUIRED**): The API token for your [Neocities][nc] website to deploy to.
|
||||||
- `dist_dir`: The directory to deploy to [Neocities][nc]. Default: `public`.
|
- `dist_dir`: The directory to deploy to [Neocities][nc]. Default: `public`. Don't deploy your root repo directory (e.g. `./`). It contains `.git`, `.github` and other files that won't deploy properly to neocities. Keep it clean by keeping or building your site into a subdir and deploy that.
|
||||||
- `cleanup`: Boolean string (`true` or `false`). If `true`, `deploy-to-neocities` will destructively delete files found on [Neocities][nc] not found in your `dist_dir`. Default: `false`.
|
- `cleanup`: Boolean string (`true` or `false`). If `true`, `deploy-to-neocities` will destructively delete files found on [Neocities][nc] not found in your `dist_dir`. Default: `false`.
|
||||||
- `protected_files`: An optional glob string used to mark files as protected. Protected files are never cleaned up. Test this option out with `cleanup` set to false before relying on it. Protected files are printed when `cleanup` is set to true or false. Glob strings are processed by [minimatch](https://github.com/isaacs/minimatch) against remote neocities file paths. Protected files can still be updated.
|
- `protected_files`: An optional glob string used to mark files as protected. Protected files are never cleaned up. Test this option out with `cleanup` set to false before relying on it. Protected files are printed when `cleanup` is set to true or false. Glob strings are processed by [minimatch](https://github.com/isaacs/minimatch) against remote neocities file paths. Protected files can still be updated.
|
||||||
|
|
||||||
@@ -119,7 +120,6 @@ None.
|
|||||||
- https://github.com/bcomnes/deploy-to-neocities/blob/master/.github/workflows/neocities.yml ([deploy-to-neocities.neocities.org](https://deploy-to-neocities.neocities.org))
|
- https://github.com/bcomnes/deploy-to-neocities/blob/master/.github/workflows/neocities.yml ([deploy-to-neocities.neocities.org](https://deploy-to-neocities.neocities.org))
|
||||||
- [Zambonifofex/stories](https://github.com/Zambonifofex/stories) ([zamstories.neocities.org](https://zamstories.neocities.org))
|
- [Zambonifofex/stories](https://github.com/Zambonifofex/stories) ([zamstories.neocities.org](https://zamstories.neocities.org))
|
||||||
- [Your Neofeed](https://github.com/victoriadrake/neocities-neofeed), (っ◔◡◔)っ a personal timeline for Neocities and GitHub Pages.
|
- [Your Neofeed](https://github.com/victoriadrake/neocities-neofeed), (っ◔◡◔)っ a personal timeline for Neocities and GitHub Pages.
|
||||||
- https://punkedwerewolf.net
|
|
||||||
- https://speakscribe.com
|
- https://speakscribe.com
|
||||||
- https://geno7.neocities.org
|
- https://geno7.neocities.org
|
||||||
- https://github.com/M1ssM0ss/deploy-to-neocities-template
|
- https://github.com/M1ssM0ss/deploy-to-neocities-template
|
||||||
@@ -127,17 +127,20 @@ None.
|
|||||||
- https://flamedfury.com
|
- https://flamedfury.com
|
||||||
- https://keb.neocities.org
|
- https://keb.neocities.org
|
||||||
- https://missmoss.neocities.org
|
- https://missmoss.neocities.org
|
||||||
- https://fuckingwebmaster.net
|
|
||||||
- https://rarebit.neocities.org
|
- https://rarebit.neocities.org
|
||||||
- https://cavacado.neocities.org
|
- https://cavacado.neocities.org
|
||||||
- https://wanderinginn.neocities.org
|
- https://wanderinginn.neocities.org
|
||||||
- https://andri.dk/blog/2021/deploy-static-websites-anywhere
|
- https://andri.dk/blog/2019/2021/deploy-static-websites-anywhere/
|
||||||
- https://github.com/PersonMeetup/frontiercorps ([frontiercorps.neocities.org](https://frontiercorps.neocities.org/))
|
- https://github.com/PersonMeetup/frontiercorps ([frontiercorps.neocities.org](https://frontiercorps.neocities.org/))
|
||||||
- https://github.com/riastrad/cyberbspace ([cyberb.space](https://cyberb.space))
|
- https://github.com/riastrad/cyberbspace ([cyberb.space](https://cyberb.space))
|
||||||
- https://github.com/rogerahuntley/neocities-site ([stealdog.neocities.org](https://stealdog.neocities.org))
|
- https://github.com/rogerahuntley/neocities-site ([stealdog.neocities.org](https://stealdog.neocities.org))
|
||||||
- https://github.com/ConorSheehan1/conorsheehan1.neocities.org ([conorsheehan1.neocities.org](https://conorsheehan1.neocities.org))
|
- https://github.com/ConorSheehan1/conorsheehan1.neocities.org ([conorsheehan1.neocities.org](https://conorsheehan1.neocities.org))
|
||||||
- https://github.com/bechnokid/neocities ([bechnokid.neocities.org](https://bechnokid.neocities.org))
|
- https://github.com/bechnokid/neocities ([bechnokid.neocities.org](https://bechnokid.neocities.org))
|
||||||
- https://github.com/lime360/website ([lime360.neocities.org](https://lime360.neocities.org))
|
- https://github.com/lime360/website ([lime360.neocities.org](https://lime360.neocities.org))
|
||||||
|
- https://obspogon.neocities.org/
|
||||||
|
- https://profsugoi.neocities.org/
|
||||||
|
- https://github.com/tencurse/neocities ([10kph.neocities.org](https://10kph.neocities.org/))
|
||||||
|
- https://github.com/alephdfilms/neocities/ ([alephd.neocities.org](https://alephd.neocities.org/)]
|
||||||
- [See more!](https://github.com/bcomnes/deploy-to-neocities/network/dependents)
|
- [See more!](https://github.com/bcomnes/deploy-to-neocities/network/dependents)
|
||||||
- ...PR your site when you set it up!
|
- ...PR your site when you set it up!
|
||||||
|
|
||||||
@@ -148,6 +151,7 @@ None.
|
|||||||
- [neocities/neocities-node](https://github.com/neocities/neocities-node): Official Node API
|
- [neocities/neocities-node](https://github.com/neocities/neocities-node): Official Node API
|
||||||
- [jonchang/deploy-neocities](https://github.com/jonchang/deploy-neocities): An alternative docker + official ruby client based action similar to this one.
|
- [jonchang/deploy-neocities](https://github.com/jonchang/deploy-neocities): An alternative docker + official ruby client based action similar to this one.
|
||||||
- [M1ssM0ss/deploy-to-neocities-template](https://github.com/M1ssM0ss/deploy-to-neocities-template): a template repo ready for cloning using deploy-to-neocities.
|
- [M1ssM0ss/deploy-to-neocities-template](https://github.com/M1ssM0ss/deploy-to-neocities-template): a template repo ready for cloning using deploy-to-neocities.
|
||||||
|
- [professorsugoi/Deploy-Astro-Neocities](https://github.com/professorsugoi/Deploy-Astro-Neocities): a template repo for projets built with Astro. uses deploy-to-neocities.
|
||||||
|
|
||||||
## CHANGELOG
|
## CHANGELOG
|
||||||
|
|
||||||
@@ -158,3 +162,4 @@ See [changelog.md](CHANGELOG.md)
|
|||||||
[fd]: https://ghub.io/form-data
|
[fd]: https://ghub.io/form-data
|
||||||
[nc]: https://neocities.org
|
[nc]: https://neocities.org
|
||||||
[sec]: https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets
|
[sec]: https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets
|
||||||
|
[neocities-img]: https://img.shields.io/website/https/siteup.neocities.org?label=neocities&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAGhlWElmTU0AKgAAAAgABAEGAAMAAAABAAIAAAESAAMAAAABAAEAAAEoAAMAAAABAAIAAIdpAAQAAAABAAAAPgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAAAueefIAAACC2lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS40LjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyI+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDx0aWZmOlBob3RvbWV0cmljSW50ZXJwcmV0YXRpb24+MjwvdGlmZjpQaG90b21ldHJpY0ludGVycHJldGF0aW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8dGlmZjpDb21wcmVzc2lvbj4xPC90aWZmOkNvbXByZXNzaW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4Kpl32MAAABzBJREFUWAnFVwtwnFUV/v5//31ks5tsE9I8moS0iWETSNKUVpBKDKFQxtrC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/gSum/gxN3QJOzCA6sIIDv2D0KlhdrWS9Jt2F9aU+FKQ7eeYKi3kaSaur4C29j98lE4P9XWg59z5OnXgDb7/1pvlOY7c5EbYKjug+RFTSeJ90pmi6N/O1KbiKeIqOtJFPhXl6m87OGae8hPoU8SSxaj7dMvahEeCiGUQjcm/LiHLCT8hbUsaGCKk2wqWWNxHykD1LA13kC9JHdmBBLf/D5H8By9d+IkwR5NMAAAAASUVORK5CYII=
|
||||||
|
|||||||
56417
dist/index.js
vendored
56417
dist/index.js
vendored
File diff suppressed because one or more lines are too long
8
dist/index.js.map
vendored
8
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
1
dist/sourcemap-register.js
vendored
1
dist/sourcemap-register.js
vendored
File diff suppressed because one or more lines are too long
2
index.js
2
index.js
@@ -5,7 +5,7 @@ const path = require('path')
|
|||||||
const ms = require('ms')
|
const ms = require('ms')
|
||||||
const assert = require('webassert').default
|
const assert = require('webassert').default
|
||||||
const fsp = require('fs').promises
|
const fsp = require('fs').promises
|
||||||
const minimatch = require('minimatch')
|
const { minimatch } = require('minimatch')
|
||||||
const { stackWithCauses } = require('pony-cause')
|
const { stackWithCauses } = require('pony-cause')
|
||||||
|
|
||||||
let cleanup
|
let cleanup
|
||||||
|
|||||||
23
package.json
23
package.json
@@ -1,29 +1,27 @@
|
|||||||
{
|
{
|
||||||
"name": "deploy-to-neocities",
|
"name": "deploy-to-neocities",
|
||||||
"description": "Github Action to deplpoy a folder to Neocities.org",
|
"description": "Github Action to deplpoy a folder to Neocities.org",
|
||||||
"version": "1.1.13",
|
"version": "1.1.21",
|
||||||
"author": "Bret Comnes <bcomnes@gmail.com> (https://bret.io/)",
|
"author": "Bret Comnes <bcomnes@gmail.com> (https://bret.io/)",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/bcomnes/deploy-to-neocities/issues"
|
"url": "https://github.com/bcomnes/deploy-to-neocities/issues"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "1.10.0",
|
"@actions/core": "1.10.1",
|
||||||
"async-neocities": "2.1.4",
|
"async-neocities": "2.1.6",
|
||||||
"minimatch": "5.1.2",
|
"minimatch": "9.0.3",
|
||||||
"ms": "2.1.3",
|
"ms": "2.1.3",
|
||||||
"pony-cause": "^2.1.4",
|
"pony-cause": "^2.1.4",
|
||||||
"webassert": "3.0.2"
|
"webassert": "3.0.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@siteup/cli": "^2.0.0",
|
"top-bun": "^7.0.0",
|
||||||
"@vercel/ncc": "^0.36.0",
|
|
||||||
"auto-changelog": "^2.0.0",
|
"auto-changelog": "^2.0.0",
|
||||||
"browser-sync": "^2.27.7",
|
|
||||||
"dependency-check": "^4.1.0",
|
"dependency-check": "^4.1.0",
|
||||||
"gh-release": "^7.0.0",
|
"gh-release": "^7.0.0",
|
||||||
"mkdirp": "^1.0.4",
|
|
||||||
"npm-run-all2": "^6.0.0",
|
"npm-run-all2": "^6.0.0",
|
||||||
"standard": "^17.0.0"
|
"standard": "^17.0.0",
|
||||||
|
"esbuild": "^0.19.0"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/bcomnes/deploy-to-neocities#readme",
|
"homepage": "https://github.com/bcomnes/deploy-to-neocities#readme",
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
@@ -36,9 +34,9 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npm run clean && run-p build:*",
|
"build": "npm run clean && run-p build:*",
|
||||||
"build:action": "rm -rf dist && ncc build index.js -o dist -s",
|
"build:action": "rm -rf dist && esbuild index.js --bundle --platform=node --target=node16 --sourcemap=external --outdir=dist",
|
||||||
"build:site": "siteup --src . --dest public",
|
"build:site": "tb --src . --dest public",
|
||||||
"clean": "rimraf public && mkdirp public",
|
"clean": "rm -rf public && mkdir -p public",
|
||||||
"release": "git push --follow-tags && gh-release -y",
|
"release": "git push --follow-tags && gh-release -y",
|
||||||
"start": "npm run watch",
|
"start": "npm run watch",
|
||||||
"test": "run-s test:*",
|
"test": "run-s test:*",
|
||||||
@@ -48,7 +46,6 @@
|
|||||||
"version:build": "npm run build:action && git add dist",
|
"version:build": "npm run build:action && git add dist",
|
||||||
"version:changelog": "auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md",
|
"version:changelog": "auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md",
|
||||||
"watch": "npm run clean && run-p watch:*",
|
"watch": "npm run clean && run-p watch:*",
|
||||||
"watch:serve": "browser-sync start --server 'public' --files 'public'",
|
|
||||||
"watch:site": "npm run build:site -- -w"
|
"watch:site": "npm run build:site -- -w"
|
||||||
},
|
},
|
||||||
"standard": {
|
"standard": {
|
||||||
|
|||||||
Reference in New Issue
Block a user