mirror of
https://github.com/bcomnes/deploy-to-neocities.git
synced 2026-01-22 09:21:53 +00:00
Compare commits
44 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d695e9db92 | ||
|
|
6f434f896b | ||
|
|
e7dcb26c51 | ||
|
|
8a28acd357 | ||
|
|
b507e3b391 | ||
|
|
2abb3f996d | ||
|
|
f16012dd28 | ||
|
|
bfa04d557b | ||
|
|
30f412734d | ||
|
|
ec2b7132bb | ||
|
|
7b78b9a280 | ||
|
|
f37bb2b722 | ||
|
|
cabfb5468a | ||
|
|
b36d44888a | ||
|
|
8ea4b45165 | ||
|
|
9f22f6b1ae | ||
|
|
05f7c2ccb9 | ||
|
|
c3346dcce4 | ||
|
|
1dc288fcda | ||
|
|
f0fbf6e021 | ||
|
|
fdb512fd0f | ||
|
|
a6eb0d245a | ||
|
|
73f41a943b | ||
|
|
035b9f8444 | ||
|
|
410417a9ba | ||
|
|
ce292fe45f | ||
|
|
614fce6420 | ||
|
|
f136f327b9 | ||
|
|
1ef0bf036b | ||
|
|
ec6ba5181a | ||
|
|
d707f38f20 | ||
|
|
ad16ab3c52 | ||
|
|
8b910a9378 | ||
|
|
beaded6a96 | ||
|
|
3b5d7266d0 | ||
|
|
f160bcde05 | ||
|
|
223504cb70 | ||
|
|
898a85881d | ||
|
|
fb578a7e9b | ||
|
|
858357d6ea | ||
|
|
4b7086560d | ||
|
|
0b9e359dec | ||
|
|
fc389c59f8 | ||
|
|
517202dbed |
14
.github/workflows/neocities.yml
vendored
14
.github/workflows/neocities.yml
vendored
@@ -6,18 +6,26 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
env:
|
||||||
|
FORCE_COLOR: 2
|
||||||
|
node_version: lts/*
|
||||||
|
|
||||||
|
concurrency: # prevent concurrent deploys doing starnge things
|
||||||
|
group: deploy-to-neocities
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.4.0
|
- uses: actions/checkout@v3
|
||||||
# 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
|
||||||
uses: actions/setup-node@v2.5.1
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 15
|
node-version: ${{ env.node_version }}
|
||||||
- run: npm i
|
- run: npm i
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
# When the dist_dir is ready, deploy it to neocities
|
# When the dist_dir is ready, deploy it to neocities
|
||||||
|
|||||||
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@@ -8,17 +8,22 @@ on:
|
|||||||
required: true
|
required: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
node_version: 14
|
node_version: lts/*
|
||||||
|
FORCE_COLOR: 2
|
||||||
|
|
||||||
|
concurrency: # prevent concurrent releases
|
||||||
|
group: npm-bump
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
version_and_release:
|
version_and_release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.4.0
|
- uses: actions/checkout@v3
|
||||||
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@v2.5.1
|
- uses: actions/setup-node@v3
|
||||||
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
|
||||||
|
|||||||
14
.github/workflows/test.yml
vendored
14
.github/workflows/test.yml
vendored
@@ -2,6 +2,9 @@ name: tests
|
|||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
env:
|
||||||
|
FORCE_COLOR: 2
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
@@ -9,12 +12,12 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
node: [15]
|
node: [lts/*]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.4.0
|
- uses: actions/checkout@v3
|
||||||
- name: Use Node.js ${{ matrix.node }}
|
- name: Use Node.js ${{ matrix.node }}
|
||||||
uses: actions/setup-node@v2.5.1
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ matrix.node }}
|
||||||
- run: npm i
|
- run: npm i
|
||||||
@@ -23,8 +26,11 @@ jobs:
|
|||||||
automerge:
|
automerge:
|
||||||
needs: test
|
needs: test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- uses: fastify/github-action-merge-dependabot@v2.7.1
|
- uses: fastify/github-action-merge-dependabot@v3
|
||||||
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' && contains(github.head_ref, 'dependabot/github_actions') }}
|
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' && contains(github.head_ref, 'dependabot/github_actions') }}
|
||||||
with:
|
with:
|
||||||
github-token: ${{secrets.github_token}}
|
github-token: ${{secrets.github_token}}
|
||||||
|
|||||||
56
CHANGELOG.md
56
CHANGELOG.md
@@ -7,7 +7,61 @@ 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.2](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.1...v1.1.2)
|
## [v1.1.6](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.5...v1.1.6)
|
||||||
|
|
||||||
|
### Merged
|
||||||
|
|
||||||
|
- chore(deps-dev): bump @vercel/ncc from 0.33.4 to 0.34.0 [`#84`](https://github.com/bcomnes/deploy-to-neocities/pull/84)
|
||||||
|
- chore(deps): bump @actions/core from 1.8.1 to 1.8.2 [`#83`](https://github.com/bcomnes/deploy-to-neocities/pull/83)
|
||||||
|
|
||||||
|
### Commits
|
||||||
|
|
||||||
|
- Merge pull request #82 from bcomnes/dependabot/npm_and_yarn/actions/core-1.8.1 [`2abb3f9`](https://github.com/bcomnes/deploy-to-neocities/commit/2abb3f996d5b9af84eb44488cfb74e307ad8574d)
|
||||||
|
- chore(deps): bump @actions/core from 1.8.0 to 1.8.1 [`f16012d`](https://github.com/bcomnes/deploy-to-neocities/commit/f16012dd28b1a06080fa8fefeb28da6cb44b3c2e)
|
||||||
|
- Update test.yml [`bfa04d5`](https://github.com/bcomnes/deploy-to-neocities/commit/bfa04d557bd13931d6b441e2455b525dc076ed26)
|
||||||
|
|
||||||
|
## [v1.1.5](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.4...v1.1.5) - 2022-05-06
|
||||||
|
|
||||||
|
### Merged
|
||||||
|
|
||||||
|
- chore(deps-dev): bump standard from 16.0.4 to 17.0.0 [`#77`](https://github.com/bcomnes/deploy-to-neocities/pull/77)
|
||||||
|
- chore(deps): bump @actions/core from 1.6.0 to 1.7.0 [`#78`](https://github.com/bcomnes/deploy-to-neocities/pull/78)
|
||||||
|
- chore(deps): bump actions/setup-node from 3.1.0 to 3.1.1 [`#76`](https://github.com/bcomnes/deploy-to-neocities/pull/76)
|
||||||
|
- chore(deps): bump fastify/github-action-merge-dependabot from 3.0.2 to 3.1 [`#75`](https://github.com/bcomnes/deploy-to-neocities/pull/75)
|
||||||
|
- chore(deps): bump actions/setup-node from 3.0.0 to 3.1.0 [`#74`](https://github.com/bcomnes/deploy-to-neocities/pull/74)
|
||||||
|
- chore(deps): bump actions/checkout from 2 to 3 [`#73`](https://github.com/bcomnes/deploy-to-neocities/pull/73)
|
||||||
|
- chore(deps): bump actions/setup-node from 2 to 3.0.0 [`#72`](https://github.com/bcomnes/deploy-to-neocities/pull/72)
|
||||||
|
|
||||||
|
### Commits
|
||||||
|
|
||||||
|
- Merge pull request #81 from bcomnes/dependabot/npm_and_yarn/actions/core-1.8.0 [`f37bb2b`](https://github.com/bcomnes/deploy-to-neocities/commit/f37bb2b7224fae864b2080db62db15e886dbd6c5)
|
||||||
|
- chore(deps): bump @actions/core from 1.7.0 to 1.8.0 [`cabfb54`](https://github.com/bcomnes/deploy-to-neocities/commit/cabfb5468a6b1e78144a68c32e2a14c4fdcb839a)
|
||||||
|
- Merge pull request #80 from bcomnes/dependabot/npm_and_yarn/siteup/cli-2.0.0 [`b36d448`](https://github.com/bcomnes/deploy-to-neocities/commit/b36d44888aa3dce0da455cd8610b988d50925e89)
|
||||||
|
|
||||||
|
## [v1.1.4](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.3...v1.1.4) - 2022-02-17
|
||||||
|
|
||||||
|
### Merged
|
||||||
|
|
||||||
|
- chore(deps): bump minimatch from 4.2.1 to 5.0.0 [`#71`](https://github.com/bcomnes/deploy-to-neocities/pull/71)
|
||||||
|
- chore(deps): bump minimatch from 3.1.1 to 4.1.1 [`#70`](https://github.com/bcomnes/deploy-to-neocities/pull/70)
|
||||||
|
|
||||||
|
### Commits
|
||||||
|
|
||||||
|
- Update README.md [`beaded6`](https://github.com/bcomnes/deploy-to-neocities/commit/beaded6a96f0378b2111dc87c379edf035411108)
|
||||||
|
|
||||||
|
## [v1.1.3](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.2...v1.1.3) - 2022-02-08
|
||||||
|
|
||||||
|
### Merged
|
||||||
|
|
||||||
|
- chore(deps): bump fastify/github-action-merge-dependabot from 2.7.1 to 3.0.2 [`#66`](https://github.com/bcomnes/deploy-to-neocities/pull/66)
|
||||||
|
|
||||||
|
### Commits
|
||||||
|
|
||||||
|
- Document the use of concurrency [`f160bcd`](https://github.com/bcomnes/deploy-to-neocities/commit/f160bcde052d8794acf67ffb8e7c042e3c721b37)
|
||||||
|
- Update neocities.yml [`223504c`](https://github.com/bcomnes/deploy-to-neocities/commit/223504cb704aeba9aed8b354f4e53aa15593f8dd)
|
||||||
|
- Update release.yml [`898a858`](https://github.com/bcomnes/deploy-to-neocities/commit/898a85881d00f10f1ddc66d430f80b89d6ed467d)
|
||||||
|
|
||||||
|
## [v1.1.2](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.1...v1.1.2) - 2022-02-08
|
||||||
|
|
||||||
### Merged
|
### Merged
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,10 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
concurrency: # prevent concurrent deploys doing strange things
|
||||||
|
group: deploy-to-neocities
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -140,6 +144,7 @@ None.
|
|||||||
- [Neocities API Docs](https://neocities.org/api)
|
- [Neocities API Docs](https://neocities.org/api)
|
||||||
- [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.
|
||||||
|
|
||||||
## CHANGELOG
|
## CHANGELOG
|
||||||
|
|
||||||
|
|||||||
2668
dist/index.js
vendored
2668
dist/index.js
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/sourcemap-register.js
vendored
2
dist/sourcemap-register.js
vendored
File diff suppressed because one or more lines are too long
12
package.json
12
package.json
@@ -1,28 +1,28 @@
|
|||||||
{
|
{
|
||||||
"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.2",
|
"version": "1.1.6",
|
||||||
"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.6.0",
|
"@actions/core": "1.8.2",
|
||||||
"async-neocities": "2.1.1",
|
"async-neocities": "2.1.1",
|
||||||
"minimatch": "^3.0.4",
|
"minimatch": "^5.0.0",
|
||||||
"ms": "2.1.3",
|
"ms": "2.1.3",
|
||||||
"webassert": "3.0.2"
|
"webassert": "3.0.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@siteup/cli": "^1.3.3",
|
"@siteup/cli": "^2.0.0",
|
||||||
"@vercel/ncc": "^0.33.1",
|
"@vercel/ncc": "^0.34.0",
|
||||||
"auto-changelog": "^2.0.0",
|
"auto-changelog": "^2.0.0",
|
||||||
"browser-sync": "^2.27.7",
|
"browser-sync": "^2.27.7",
|
||||||
"dependency-check": "^4.1.0",
|
"dependency-check": "^4.1.0",
|
||||||
"gh-release": "^6.0.0",
|
"gh-release": "^6.0.0",
|
||||||
"mkdirp": "^1.0.4",
|
"mkdirp": "^1.0.4",
|
||||||
"npm-run-all2": "^5.0.2",
|
"npm-run-all2": "^5.0.2",
|
||||||
"standard": "^16.0.0"
|
"standard": "^17.0.0"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/bcomnes/deploy-to-neocities#readme",
|
"homepage": "https://github.com/bcomnes/deploy-to-neocities#readme",
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
|
|||||||
Reference in New Issue
Block a user