mirror of
https://github.com/bcomnes/deploy-to-neocities.git
synced 2026-01-21 08:51:54 +00:00
Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5cb799d25b | ||
|
|
2ef70d4399 | ||
|
|
2631bd5284 | ||
|
|
b95020bc09 | ||
|
|
ebf5da81f1 | ||
|
|
8667c08673 | ||
|
|
d4d1e30a4d | ||
|
|
0827633ad8 | ||
|
|
567f5ef326 | ||
|
|
1bf3a685c6 | ||
|
|
34c40454fe | ||
|
|
5ef89ceeaa | ||
|
|
6b85bf5162 | ||
|
|
48dc557fed |
4
.github/workflows/neocities.yml
vendored
4
.github/workflows/neocities.yml
vendored
@@ -10,7 +10,7 @@ env:
|
||||
FORCE_COLOR: 1
|
||||
node_version: 16
|
||||
|
||||
concurrency: # prevent concurrent deploys doing starnge things
|
||||
concurrency: # prevent concurrent deploys doing strange things
|
||||
group: deploy-to-neocities
|
||||
cancel-in-progress: true
|
||||
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
# Set up any tools and build steps here
|
||||
# This example uses a Node.js toolchain to build a site
|
||||
- name: Use Node.js
|
||||
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
version_and_release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
# fetch full history so things like auto-changelog work properly
|
||||
fetch-depth: 0
|
||||
|
||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
||||
node: [16]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Use Node.js ${{ matrix.node }}
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
|
||||
23
CHANGELOG.md
23
CHANGELOG.md
@@ -7,7 +7,28 @@ 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.17](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.16...v1.1.17)
|
||||
## [v1.1.19](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.18...v1.1.19)
|
||||
|
||||
### 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
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
[](https://github.com/bcomnes/deploy-to-neocities/actions)
|
||||

|
||||
[](https://github.com/marketplace/actions/deploy-to-neocities)
|
||||
[![Neocities][neocities-img]](https://deploy-to-neocities.neocities.org)
|
||||
|
||||
<center><img src="static/logo.png"></center>
|
||||
|
||||
@@ -139,6 +140,7 @@ None.
|
||||
- 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)
|
||||
- ...PR your site when you set it up!
|
||||
|
||||
@@ -160,3 +162,4 @@ See [changelog.md](CHANGELOG.md)
|
||||
[fd]: https://ghub.io/form-data
|
||||
[nc]: https://neocities.org
|
||||
[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,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAGhlWElmTU0AKgAAAAgABAEGAAMAAAABAAIAAAESAAMAAAABAAEAAAEoAAMAAAABAAIAAIdpAAQAAAABAAAAPgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAAAueefIAAACC2lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS40LjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxu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OFT4ceSRvjnFEQrClFMK2/FsIBALYu3evZfw2mxe/Yj1obGzExY4OfPmr98Hu38QCOSGqp+j3tT3RLAZek0SwiMlYxyjIFu6WgX3fzMGNufKonYd49kNGOspLrkdTUxMikQhS4r34tZGDZObEHkccdu3chQ0bNiDc/OoMBQdqe/HOv0aSONhBHJ5yYFLqR+QVoYjyPcT7+mJVLsZ5n988O4gTvHrfX5uKMimjzOJEewhbt25FZ2cnWlpaUF1djdcTR1A6NoH24BiC/E4IKSaiyMuX9OVT/Xh4f5tkn0R+Czc9MOdZzokHLGmuiLPr8qqViqKchqYObcmNvnCeLlajz9+uzGCAOpTiNVabN2+25ETWMAxVV1enzPEBS254X5GqWpsmHwqRkfP4OpdF8y/WmM4psJ3HIVuYMr7n/qwZz6uRp/xq4uQvuSxK4sTBgwfVjh07VH19veInWnW9+j11uDJdlebEj0zqaiC/gSum/gxN3QJOzCA6sIIDv2D0KlhdrWS9Jt2F9aU+FKQ7eeYKi3kaSaur4C29j98lE4P9XWg59z5OnXgDb7/1pvlOY7c5EbYKjug+RFTSeJ90pmi6N/O1KbiKeIqOtJFPhXl6m87OGae8hPoU8SSxaj7dMvahEeCiGUQjcm/LiHLCT8hbUsaGCKk2wqWWNxHykD1LA13kC9JHdmBBLf/D5H8By9d+IkwR5NMAAAAASUVORK5CYII=
|
||||
|
||||
37
dist/index.js
vendored
37
dist/index.js
vendored
@@ -569,7 +569,12 @@ var require_proxy = __commonJS({
|
||||
}
|
||||
})();
|
||||
if (proxyVar) {
|
||||
return new URL(proxyVar);
|
||||
try {
|
||||
return new URL(proxyVar);
|
||||
} catch (_a) {
|
||||
if (!proxyVar.startsWith("http://") && !proxyVar.startsWith("https://"))
|
||||
return new URL(`http://${proxyVar}`);
|
||||
}
|
||||
} else {
|
||||
return void 0;
|
||||
}
|
||||
@@ -1001,6 +1006,19 @@ var require_lib = __commonJS({
|
||||
}));
|
||||
});
|
||||
}
|
||||
readBodyBuffer() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
return new Promise((resolve) => __awaiter(this, void 0, void 0, function* () {
|
||||
const chunks = [];
|
||||
this.message.on("data", (chunk) => {
|
||||
chunks.push(chunk);
|
||||
});
|
||||
this.message.on("end", () => {
|
||||
resolve(Buffer.concat(chunks));
|
||||
});
|
||||
}));
|
||||
});
|
||||
}
|
||||
};
|
||||
exports.HttpClientResponse = HttpClientResponse;
|
||||
function isHttps(requestUrl) {
|
||||
@@ -1602,7 +1620,7 @@ var require_oidc_utils = __commonJS({
|
||||
|
||||
Error Code : ${error.statusCode}
|
||||
|
||||
Error Message: ${error.result.message}`);
|
||||
Error Message: ${error.message}`);
|
||||
});
|
||||
const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;
|
||||
if (!id_token) {
|
||||
@@ -5479,9 +5497,6 @@ var require_lib3 = __commonJS({
|
||||
if (typeof agent === "function") {
|
||||
agent = agent(parsedURL);
|
||||
}
|
||||
if (!headers.has("Connection") && !agent) {
|
||||
headers.set("Connection", "close");
|
||||
}
|
||||
return Object.assign({}, parsedURL, {
|
||||
method: request.method,
|
||||
headers: exportNodeCompatibleHeaders(headers),
|
||||
@@ -5724,7 +5739,7 @@ var require_lib3 = __commonJS({
|
||||
const headers = response.headers;
|
||||
if (headers["transfer-encoding"] === "chunked" && !headers["content-length"]) {
|
||||
response.once("close", function(hadError) {
|
||||
const hasDataListener = socket.listenerCount("data") > 0;
|
||||
const hasDataListener = socket && socket.listenerCount("data") > 0;
|
||||
if (hasDataListener && !hadError) {
|
||||
const err = new Error("Premature close");
|
||||
err.code = "ERR_STREAM_PREMATURE_CLOSE";
|
||||
@@ -5753,6 +5768,7 @@ var require_lib3 = __commonJS({
|
||||
exports.Request = Request;
|
||||
exports.Response = Response;
|
||||
exports.FetchError = FetchError;
|
||||
exports.AbortError = AbortError;
|
||||
}
|
||||
});
|
||||
|
||||
@@ -6424,10 +6440,13 @@ var require_fast_fifo = __commonJS({
|
||||
return val;
|
||||
}
|
||||
peek() {
|
||||
return this.tail.peek();
|
||||
const val = this.tail.peek();
|
||||
if (val === void 0 && this.tail.next)
|
||||
return this.tail.next.peek();
|
||||
return val;
|
||||
}
|
||||
isEmpty() {
|
||||
return this.head.isEmpty();
|
||||
return this.length === 0;
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -6772,7 +6791,7 @@ var require_streamx = __commonJS({
|
||||
return true;
|
||||
}
|
||||
updateCallback() {
|
||||
if ((this.stream._readableState & READ_UPDATE_SYNC_STATUS) === READ_PRIMARY)
|
||||
if ((this.stream._duplexState & READ_UPDATE_SYNC_STATUS) === READ_PRIMARY)
|
||||
this.update();
|
||||
else
|
||||
this.updateNextTick();
|
||||
|
||||
4
dist/index.js.map
vendored
4
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"name": "deploy-to-neocities",
|
||||
"description": "Github Action to deplpoy a folder to Neocities.org",
|
||||
"version": "1.1.17",
|
||||
"version": "1.1.19",
|
||||
"author": "Bret Comnes <bcomnes@gmail.com> (https://bret.io/)",
|
||||
"bugs": {
|
||||
"url": "https://github.com/bcomnes/deploy-to-neocities/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@actions/core": "1.10.0",
|
||||
"@actions/core": "1.10.1",
|
||||
"async-neocities": "2.1.5",
|
||||
"minimatch": "9.0.2",
|
||||
"minimatch": "9.0.3",
|
||||
"ms": "2.1.3",
|
||||
"pony-cause": "^2.1.4",
|
||||
"webassert": "3.0.2"
|
||||
@@ -22,7 +22,7 @@
|
||||
"gh-release": "^7.0.0",
|
||||
"npm-run-all2": "^6.0.0",
|
||||
"standard": "^17.0.0",
|
||||
"esbuild": "^0.18.0"
|
||||
"esbuild": "^0.19.0"
|
||||
},
|
||||
"homepage": "https://github.com/bcomnes/deploy-to-neocities#readme",
|
||||
"keywords": [],
|
||||
|
||||
Reference in New Issue
Block a user