Compare commits

...

23 Commits

Author SHA1 Message Date
Bret Comnes
442fdb16c6 Merge pull request #188 from helenclx/master
Remove my hobby website from the website list
2024-06-03 08:50:20 -07:00
Helen Chong
66b26b18d1 Remove my hobby website from the website list 2024-06-03 10:47:23 +08:00
Bret Comnes
bcd01efa4b Merge pull request #187 from helenclx/master 2024-05-25 13:22:28 -07:00
Helen Chong
b5c3f6f80e Add leilukin.neocities.org to the list of sites 2024-05-25 12:20:30 +08:00
Bret Comnes
6595f1c246 Merge pull request #185 from Len42/add-lenp.net 2024-05-21 13:44:48 -07:00
Bret Comnes
ae08849335 Update README.md 2024-05-21 13:42:42 -07:00
Len Popp len.popp@gmail.com
3eacba89fd add site lenp.net (https://lenp.neocities.org/) 2024-05-19 13:49:08 -04:00
Bret Comnes
5729d50652 Merge pull request #184 from bcomnes/dependabot/npm_and_yarn/esbuild-0.21.0
chore(deps-dev): bump esbuild from 0.20.2 to 0.21.0
2024-05-07 19:40:38 -07:00
dependabot[bot]
b089e0d0bc chore(deps-dev): bump esbuild from 0.20.2 to 0.21.0
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.20.2 to 0.21.0.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.20.2...v0.21.0)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 03:53:11 +00:00
Bret Comnes
e3fac0f3de 2.0.2 2024-04-04 11:44:48 -07:00
Bret Comnes
1fcd576de9 Clarify default branch situation in README 2024-04-04 11:41:01 -07:00
Bret Comnes
f4b0c050cf 2.0.1 2024-04-04 11:38:24 -07:00
Bret Comnes
5a66259a88 Update docs 2024-04-04 11:37:59 -07:00
bcomnes
e2c175c6c7 2.0.0 2024-04-04 18:34:18 +00:00
Bret Comnes
18ba72a8f3 Update action runtime to node20
BREAKING CHANGE: run using node20 action runtime.

Closes https://github.com/bcomnes/deploy-to-neocities/issues/174
2024-04-04 11:33:32 -07:00
Bret Comnes
d2622ae949 Merge pull request #179 from bcomnes/dependabot/npm_and_yarn/minimatch-9.0.4 2024-03-29 10:03:57 -07:00
dependabot[bot]
0d910dfd72 chore(deps): bump minimatch from 9.0.3 to 9.0.4
Bumps [minimatch](https://github.com/isaacs/minimatch) from 9.0.3 to 9.0.4.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v9.0.3...v9.0.4)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-29 03:57:35 +00:00
Bret Comnes
5cf5f26672 Merge pull request #175 from M-Valentino/patch-1
Added https://sacred.neocities.org
2024-03-04 10:23:55 -08:00
Bret Comnes
0ee4b4c3a5 Update README.md 2024-03-04 10:17:30 -08:00
Mark Valentino
f78a2dae10 Added https://sacred.neocities.org 2024-03-03 22:54:36 -05:00
Bret Comnes
2e6561aa90 Merge pull request #170 from bcomnes/dependabot/npm_and_yarn/esbuild-0.20.0
chore(deps-dev): bump esbuild from 0.19.12 to 0.20.0
2024-01-29 08:03:49 -08:00
dependabot[bot]
8d9b839573 chore(deps-dev): bump esbuild from 0.19.12 to 0.20.0
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.19.12 to 0.20.0.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.19.12...v0.20.0)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 03:17:42 +00:00
dependabot[bot]
2fe29239c9 chore(deps): bump actions/setup-node from 3 to 4 (#165)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 03:27:22 +00:00
7 changed files with 778 additions and 549 deletions

View File

@@ -23,7 +23,7 @@ jobs:
# Set up any tools and build steps here
# This example uses a Node.js toolchain to build a site
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.node_version }}
- run: npm i

View File

@@ -7,7 +7,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
## [v1.1.21](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.20...v1.1.21)
## [v2.0.2](https://github.com/bcomnes/deploy-to-neocities/compare/v2.0.1...v2.0.2)
### Commits
- Clarify default branch situation in README [`1fcd576`](https://github.com/bcomnes/deploy-to-neocities/commit/1fcd576de99dc8f39086f7239bf22962f3b8e7ae)
## [v2.0.1](https://github.com/bcomnes/deploy-to-neocities/compare/v2.0.0...v2.0.1) - 2024-04-04
### Commits
- Update docs [`5a66259`](https://github.com/bcomnes/deploy-to-neocities/commit/5a66259a88059e84b1a3981aa88389854700f8a8)
## [v2.0.0](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.21...v2.0.0) - 2024-04-04
### Merged
- Added https://sacred.neocities.org [`#175`](https://github.com/bcomnes/deploy-to-neocities/pull/175)
- chore(deps-dev): bump esbuild from 0.19.12 to 0.20.0 [`#170`](https://github.com/bcomnes/deploy-to-neocities/pull/170)
- chore(deps): bump actions/setup-node from 3 to 4 [`#165`](https://github.com/bcomnes/deploy-to-neocities/pull/165)
### Fixed
- **Breaking change:** Update action runtime to node20 [`#174`](https://github.com/bcomnes/deploy-to-neocities/issues/174)
### Commits
- Merge pull request #179 from bcomnes/dependabot/npm_and_yarn/minimatch-9.0.4 [`d2622ae`](https://github.com/bcomnes/deploy-to-neocities/commit/d2622ae949a095974f8a3ffb695d70658a9911fa)
- chore(deps): bump minimatch from 9.0.3 to 9.0.4 [`0d910df`](https://github.com/bcomnes/deploy-to-neocities/commit/0d910dfd72d5c6a016940426f91622f84d1dbdca)
- Update README.md [`0ee4b4c`](https://github.com/bcomnes/deploy-to-neocities/commit/0ee4b4c3a5bbab316700252a7e41e758773e2737)
## [v1.1.21](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.20...v1.1.21) - 2023-12-02
### Merged

View File

@@ -15,11 +15,11 @@ Efficiently deploy a website to [Neocities][nc] using [Github actions](https://g
```yaml
name: Deploy to neocities
# only run on changes to master
# only run on changes to main. Use main or master depending on whatever your default branch is called.
on:
push:
branches:
- master
- main
concurrency: # prevent concurrent deploys doing strange things
group: deploy-to-neocities
@@ -43,7 +43,7 @@ jobs:
npm run build
# When the dist_dir is ready, deploy it to neocities
- name: Deploy to neocities
uses: bcomnes/deploy-to-neocities@v1
uses: bcomnes/deploy-to-neocities@v2
with:
api_token: ${{ secrets.NEOCITIES_API_TOKEN }}
cleanup: false
@@ -72,7 +72,7 @@ You most likely only want to run this on the `master` branch so that only change
### Inputs
- `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`. 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.
- `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`.
- `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.
@@ -141,6 +141,8 @@ None.
- 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/)]
- https://sacred.neocities.org/ (https://github.com/M-Valentino/sacredOS)
- https://lenp.net/ (https://github.com/Len42/web-site)
- [See more!](https://github.com/bcomnes/deploy-to-neocities/network/dependents)
- ...PR your site when you set it up!

View File

@@ -19,5 +19,5 @@ inputs:
description: A glob string that prevents matched files from ever being deleted.
required: false
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'

1267
dist/index.js vendored

File diff suppressed because one or more lines are too long

8
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,7 @@
{
"name": "deploy-to-neocities",
"description": "Github Action to deplpoy a folder to Neocities.org",
"version": "1.1.21",
"version": "2.0.2",
"author": "Bret Comnes <bcomnes@gmail.com> (https://bret.io/)",
"bugs": {
"url": "https://github.com/bcomnes/deploy-to-neocities/issues"
@@ -9,7 +9,7 @@
"dependencies": {
"@actions/core": "1.10.1",
"async-neocities": "2.1.6",
"minimatch": "9.0.3",
"minimatch": "9.0.4",
"ms": "2.1.3",
"pony-cause": "^2.1.4",
"webassert": "3.0.2"
@@ -21,7 +21,7 @@
"gh-release": "^7.0.0",
"npm-run-all2": "^6.0.0",
"standard": "^17.0.0",
"esbuild": "^0.19.0"
"esbuild": "^0.21.0"
},
"homepage": "https://github.com/bcomnes/deploy-to-neocities#readme",
"keywords": [],