Compare commits

..

27 Commits

Author SHA1 Message Date
Bret Comnes
3b9c0ff6a8 3.0.3 2025-06-01 21:14:38 -07:00
Bret Comnes
51ec937eb8 Update async-neocities 2025-06-01 21:14:33 -07:00
Bret Comnes
6ad0ab0d14 Merge pull request #222 from MymeType/patch-1
Add my own website in README.md
2025-05-27 13:54:03 -07:00
MymeType
f02d52685d Add my own website in README.md 2025-05-27 21:13:02 +02:00
Bret Comnes
7c11b664c6 Merge pull request #221 from bcomnes/dependabot/npm_and_yarn/npm-run-all2-8.0.1 2025-05-05 17:02:11 -07:00
dependabot[bot]
20286ea2e1 chore(deps-dev): bump npm-run-all2 from 7.0.2 to 8.0.1
Bumps [npm-run-all2](https://github.com/bcomnes/npm-run-all2) from 7.0.2 to 8.0.1.
- [Release notes](https://github.com/bcomnes/npm-run-all2/releases)
- [Changelog](https://github.com/bcomnes/npm-run-all2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bcomnes/npm-run-all2/compare/v7.0.2...v8.0.1)

---
updated-dependencies:
- dependency-name: npm-run-all2
  dependency-version: 8.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 03:37:59 +00:00
Bret Comnes
2eafa119db Merge pull request #217 from bcomnes/dependabot/npm_and_yarn/typescript-5.8.2
chore(deps-dev): bump typescript from 5.7.3 to 5.8.2
2025-03-06 10:11:44 -08:00
dependabot[bot]
136098ad51 chore(deps-dev): bump typescript from 5.7.3 to 5.8.2
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.7.3 to 5.8.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.7.3...v5.8.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 03:10:39 +00:00
Bret Comnes
5761b44f4d More example comments 2025-02-13 09:50:17 -08:00
Bret Comnes
e062c69fd8 Add a note about settings locations 2025-02-13 09:48:26 -08:00
Bret Comnes
f0b7afe72c Merge pull request #213 from bcomnes/dependabot/npm_and_yarn/esbuild-0.25.0
chore(deps-dev): bump esbuild from 0.24.2 to 0.25.0
2025-02-10 09:58:09 -08:00
dependabot[bot]
6440dab52a chore(deps-dev): bump esbuild from 0.24.2 to 0.25.0
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.24.2 to 0.25.0.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.24.2...v0.25.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 03:49:40 +00:00
Bret Comnes
70b264bcb3 Merge pull request #211 from bcomnes/dependabot/npm_and_yarn/neostandard-0.12.0
chore(deps-dev): bump neostandard from 0.11.9 to 0.12.0
2024-12-10 10:34:17 -08:00
dependabot[bot]
75401fb61d chore(deps-dev): bump neostandard from 0.11.9 to 0.12.0
Bumps [neostandard](https://github.com/neostandard/neostandard) from 0.11.9 to 0.12.0.
- [Release notes](https://github.com/neostandard/neostandard/releases)
- [Changelog](https://github.com/neostandard/neostandard/blob/main/CHANGELOG.md)
- [Commits](https://github.com/neostandard/neostandard/compare/v0.11.9...v0.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-10 03:11:10 +00:00
bcomnes
60adbf96af 3.0.2 2024-12-09 18:00:43 +00:00
Bret Comnes
68d0158045 Merge pull request #210 from bcomnes/dependabot/npm_and_yarn/async-neocities-4.1.0
chore(deps): bump async-neocities from 4.0.4 to 4.1.0
2024-12-09 09:59:38 -08:00
dependabot[bot]
105af8d6d9 chore(deps): bump async-neocities from 4.0.4 to 4.1.0
Bumps [async-neocities](https://github.com/bcomnes/async-neocities) from 4.0.4 to 4.1.0.
- [Release notes](https://github.com/bcomnes/async-neocities/releases)
- [Changelog](https://github.com/bcomnes/async-neocities/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bcomnes/async-neocities/compare/v4.0.4...v4.1.0)

---
updated-dependencies:
- dependency-name: async-neocities
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-09 03:53:22 +00:00
bcomnes
0836ded28a 3.0.1 2024-11-28 22:37:40 +00:00
Bret Comnes
e1376e6631 Merge pull request #209 from bcomnes/dependabot/npm_and_yarn/async-neocities-4.0.4
chore(deps): bump async-neocities from 4.0.3 to 4.0.4
2024-11-28 14:36:41 -08:00
dependabot[bot]
2d1e970973 chore(deps): bump async-neocities from 4.0.3 to 4.0.4
Bumps [async-neocities](https://github.com/bcomnes/async-neocities) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/bcomnes/async-neocities/releases)
- [Changelog](https://github.com/bcomnes/async-neocities/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bcomnes/async-neocities/compare/v4.0.3...v4.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-28 22:35:06 +00:00
Bret Comnes
4c76eb6aac Merge pull request #208 from telnettrauma/master
fixed a typo in README.md
2024-11-28 14:33:07 -08:00
Bret Comnes
e6592bbaff Merge pull request #207 from bcomnes/dependabot/npm_and_yarn/typescript-5.7.2
chore(deps-dev): bump typescript from 5.6.3 to 5.7.2
2024-11-28 14:28:18 -08:00
telnettrauma
180c4df293 fixed a typo in README.md 2024-11-26 09:52:51 -05:00
dependabot[bot]
8f5b34d768 chore(deps-dev): bump typescript from 5.6.3 to 5.7.2
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.6.3 to 5.7.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.3...v5.7.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-26 03:14:35 +00:00
Bret Comnes
15eb88d483 Update README.md 2024-11-20 16:21:55 -08:00
Bret Comnes
c320837978 Merge pull request #206 from jefbecker/master
Add my website https://jefbecker.com/ to the list.
2024-11-20 10:37:45 -08:00
jefbecker
0e06b4e2e9 Add my website https://jefbecker.com/ to the list. 2024-11-20 11:30:56 -03:00
6 changed files with 9983 additions and 5418 deletions

View File

@@ -7,7 +7,41 @@ 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).
## [v3.0.0](https://github.com/bcomnes/deploy-to-neocities/compare/v2.0.4...v3.0.0) ## [v3.0.3](https://github.com/bcomnes/deploy-to-neocities/compare/v3.0.2...v3.0.3)
### Merged
- Add my own website in README.md [`#222`](https://github.com/bcomnes/deploy-to-neocities/pull/222)
- chore(deps-dev): bump typescript from 5.7.3 to 5.8.2 [`#217`](https://github.com/bcomnes/deploy-to-neocities/pull/217)
- chore(deps-dev): bump esbuild from 0.24.2 to 0.25.0 [`#213`](https://github.com/bcomnes/deploy-to-neocities/pull/213)
- chore(deps-dev): bump neostandard from 0.11.9 to 0.12.0 [`#211`](https://github.com/bcomnes/deploy-to-neocities/pull/211)
### Commits
- Update async-neocities [`51ec937`](https://github.com/bcomnes/deploy-to-neocities/commit/51ec937eb84fa6beae055593f8e286e7d49d1d1e)
- Merge pull request #221 from bcomnes/dependabot/npm_and_yarn/npm-run-all2-8.0.1 [`7c11b66`](https://github.com/bcomnes/deploy-to-neocities/commit/7c11b664c6b9ed5b7d72def8047f539b2f2205a9)
- More example comments [`5761b44`](https://github.com/bcomnes/deploy-to-neocities/commit/5761b44f4df0408697ca3c9438cf8f7ae8df9628)
## [v3.0.2](https://github.com/bcomnes/deploy-to-neocities/compare/v3.0.1...v3.0.2) - 2024-12-09
### Merged
- chore(deps): bump async-neocities from 4.0.4 to 4.1.0 [`#210`](https://github.com/bcomnes/deploy-to-neocities/pull/210)
## [v3.0.1](https://github.com/bcomnes/deploy-to-neocities/compare/v3.0.0...v3.0.1) - 2024-11-28
### Merged
- chore(deps): bump async-neocities from 4.0.3 to 4.0.4 [`#209`](https://github.com/bcomnes/deploy-to-neocities/pull/209)
- fixed a typo in README.md [`#208`](https://github.com/bcomnes/deploy-to-neocities/pull/208)
- chore(deps-dev): bump typescript from 5.6.3 to 5.7.2 [`#207`](https://github.com/bcomnes/deploy-to-neocities/pull/207)
- Add my website https://jefbecker.com/ to the list. [`#206`](https://github.com/bcomnes/deploy-to-neocities/pull/206)
### Commits
- Update README.md [`15eb88d`](https://github.com/bcomnes/deploy-to-neocities/commit/15eb88d4831e8b3170195c1e2b468e8ab3a9703d)
## [v3.0.0](https://github.com/bcomnes/deploy-to-neocities/compare/v2.0.4...v3.0.0) - 2024-11-19
### Merged ### Merged

View File

@@ -32,9 +32,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# The checkout step copies your repo into the action runner. Important!
- uses: actions/checkout@v4 - 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
# If you don't need Node.js to build your site, you can omit this.
- name: Use Node.js - name: Use Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
@@ -45,6 +47,7 @@ jobs:
npm i npm i
npm run build npm run build
# When the dist_dir is ready, deploy it to neocities # When the dist_dir is ready, deploy it to neocities
# Here we deploy the folder named `public`
- name: Deploy to neocities - name: Deploy to neocities
uses: bcomnes/deploy-to-neocities@v3 uses: bcomnes/deploy-to-neocities@v3
with: with:
@@ -66,7 +69,7 @@ You'll need the API token for your site. Go to:
https://neocities.org/settings/{{your-sitename}}#api_key https://neocities.org/settings/{{your-sitename}}#api_key
``` ```
Get your site's API token. In your GitHub repository, set a [secret][sec] called `NEOCITIES_API_TOKEN`. Set the `api_token` input on your `deploy-to-neocities` action to `${{ secrets.NEOCITIES_API_TOKEN }}` as in the example above. Retreive your site's API token from Neocities. In your GitHub repository, set a [secret][sec] called `NEOCITIES_API_TOKEN`. Set the `api_token` input on your `deploy-to-neocities` action to `${{ secrets.NEOCITIES_API_TOKEN }}` as in the example above. The setting (as of writing) lives in Repository > Settings > Security > Secrets and Variables > Actions > Repository secrets.
During your workflow, generate the files you want to deploy to [Neocities][nc] into a directory. Set this as the `dist_dir` directory in your workflow (the default is `public`). You can use any tools to generate your site that can be installed or brought into the Github actions environment. During your workflow, generate the files you want to deploy to [Neocities][nc] into a directory. Set this as the `dist_dir` directory in your workflow (the default is `public`). You can use any tools to generate your site that can be installed or brought into the Github actions environment.
@@ -76,9 +79,9 @@ 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_key` (**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.
- `neocoties_supporter`: Set this to `true` if you have a paid neocities account and want to bypass the [unsupported files filter](https://neocities.org/site_files/allowed_types). - `neocities_supporter`: Set this to `true` if you have a paid neocities account and want to bypass the [unsupported files filter](https://neocities.org/site_files/allowed_types).
- `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`.
- `preview_before_deploy`: Boolean string (`true` or `false`). If `true`, `deploy-to-neocities` will print a preview of the files that will be uploaded and deleted. Default: `true`. - `preview_before_deploy`: Boolean string (`true` or `false`). If `true`, `deploy-to-neocities` will print a preview of the files that will be uploaded and deleted. Default: `true`.
- `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.
@@ -151,6 +154,8 @@ None.
- https://sacred.neocities.org/ (https://github.com/M-Valentino/sacredOS) - https://sacred.neocities.org/ (https://github.com/M-Valentino/sacredOS)
- https://lenp.net/ (https://github.com/Len42/web-site) - https://lenp.net/ (https://github.com/Len42/web-site)
- <https://punkfairie.net> (<https://github.com/punkfairie/punkfairie-site>) - <https://punkfairie.net> (<https://github.com/punkfairie/punkfairie-site>)
- https://github.com/jefbecker/jefbecker.com ([jefbecker.com](https://jefbecker.com))
- https://github.com/MymeType/personal-website ([mymetype.neocities.org](https://mymetype.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!

13227
dist/index.cjs vendored

File diff suppressed because one or more lines are too long

8
dist/index.cjs.map vendored

File diff suppressed because one or more lines are too long

2107
dist/meta.json vendored

File diff suppressed because it is too large Load Diff

View File

@@ -1,14 +1,14 @@
{ {
"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": "3.0.0", "version": "3.0.3",
"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.11.1", "@actions/core": "1.11.1",
"async-neocities": "4.0.3", "async-neocities": "4.1.1",
"minimatch": "10.0.1" "minimatch": "10.0.1"
}, },
"devDependencies": { "devDependencies": {
@@ -16,11 +16,11 @@
"top-bun": "^10.0.0", "top-bun": "^10.0.0",
"auto-changelog": "^2.0.0", "auto-changelog": "^2.0.0",
"gh-release": "^7.0.0", "gh-release": "^7.0.0",
"npm-run-all2": "^7.0.0", "npm-run-all2": "^8.0.1",
"neostandard": "^0.11.8", "neostandard": "^0.12.0",
"c8": "^10.0.0", "c8": "^10.0.0",
"esbuild": "~0.24.0", "esbuild": "~0.25.0",
"typescript": "~5.6.2" "typescript": "~5.8.2"
}, },
"homepage": "https://github.com/bcomnes/deploy-to-neocities#readme", "homepage": "https://github.com/bcomnes/deploy-to-neocities#readme",
"keywords": [], "keywords": [],