Compare commits

...

30 Commits

Author SHA1 Message Date
bcomnes
3b5d7266d0 1.1.3 2022-02-08 19:39:30 +00:00
Bret Comnes
f160bcde05 Document the use of concurrency 2022-02-08 11:37:59 -08:00
Bret Comnes
223504cb70 Update neocities.yml 2022-02-08 11:24:10 -08:00
Bret Comnes
898a85881d Update release.yml 2022-02-08 11:24:07 -08:00
Bret Comnes
fb578a7e9b Update test.yml 2022-02-08 11:24:04 -08:00
Bret Comnes
858357d6ea Merge pull request #66 from bcomnes/dependabot/github_actions/fastify/github-action-merge-dependabot-3.0.2
chore(deps): bump fastify/github-action-merge-dependabot from 2.7.1 to 3.0.2
2022-02-08 11:20:07 -08:00
Bret Comnes
4b7086560d Merge branch 'master' into dependabot/github_actions/fastify/github-action-merge-dependabot-3.0.2 2022-02-08 11:18:35 -08:00
Bret Comnes
0b9e359dec Update test.yml 2022-02-08 11:18:07 -08:00
Bret Comnes
fc389c59f8 Update test.yml 2022-02-08 11:16:14 -08:00
bcomnes
fa415d51e5 1.1.2 2022-02-08 19:14:40 +00:00
Bret Comnes
def67b48c6 Update site build and ncc 2022-02-08 11:13:10 -08:00
Bret Comnes
fea2d4780c Fix static deploy stuff with bandaid 2022-02-01 10:41:55 -08:00
Bret
69e0bdd342 Merge pull request #69 from riastrad/patch-1
add additional website
2022-01-16 15:05:36 -08:00
Josh Erb
b0b5978946 add additional website
Thanks so much for building out this action! Saved me loads of time.
2022-01-14 15:27:12 -05:00
Bret
5ba6c30f76 Merge pull request #68 from PersonMeetup/patch-1
Add "Frontier Corps"
2022-01-04 12:20:21 -08:00
Leslie Swan
172b21e45a Add "Frontier Corps"
Includes my project in the list of sites using this action. Thanks for making this!
2022-01-01 15:52:26 +00:00
dependabot[bot]
e084154f71 chore(deps): bump actions/setup-node from 2.5.0 to 2.5.1 (#67)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.5.0...v2.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-29 03:04:22 +00:00
dependabot[bot]
517202dbed chore(deps): bump fastify/github-action-merge-dependabot
Bumps [fastify/github-action-merge-dependabot](https://github.com/fastify/github-action-merge-dependabot) from 2.7.1 to 3.0.2.
- [Release notes](https://github.com/fastify/github-action-merge-dependabot/releases)
- [Commits](https://github.com/fastify/github-action-merge-dependabot/compare/v2.7.1...v3.0.2)

---
updated-dependencies:
- dependency-name: fastify/github-action-merge-dependabot
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-14 03:02:24 +00:00
dependabot[bot]
87e826a3d7 chore(deps): bump fastify/github-action-merge-dependabot (#65)
Bumps [fastify/github-action-merge-dependabot](https://github.com/fastify/github-action-merge-dependabot) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/fastify/github-action-merge-dependabot/releases)
- [Commits](https://github.com/fastify/github-action-merge-dependabot/compare/v2.7.0...v2.7.1)

---
updated-dependencies:
- dependency-name: fastify/github-action-merge-dependabot
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-09 03:04:23 +00:00
dependabot[bot]
82a2a1e0f3 chore(deps): bump fastify/github-action-merge-dependabot (#64)
Bumps [fastify/github-action-merge-dependabot](https://github.com/fastify/github-action-merge-dependabot) from 2.6.0 to 2.7.0.
- [Release notes](https://github.com/fastify/github-action-merge-dependabot/releases)
- [Commits](https://github.com/fastify/github-action-merge-dependabot/compare/v2.6.0...v2.7.0)

---
updated-dependencies:
- dependency-name: fastify/github-action-merge-dependabot
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-01 03:03:46 +00:00
dependabot[bot]
b2d96e7f15 chore(deps): bump actions/setup-node from 2.4.1 to 2.5.0 (#63)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.4.1...v2.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-30 03:04:45 +00:00
dependabot[bot]
fcc451d9e7 chore(deps): bump fastify/github-action-merge-dependabot (#57)
Bumps [fastify/github-action-merge-dependabot](https://github.com/fastify/github-action-merge-dependabot) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/fastify/github-action-merge-dependabot/releases)
- [Commits](https://github.com/fastify/github-action-merge-dependabot/compare/v2.5.0...v2.6.0)

---
updated-dependencies:
- dependency-name: fastify/github-action-merge-dependabot
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-19 03:03:18 +00:00
dependabot[bot]
7902c02034 chore(deps): bump actions/checkout from 2.3.5 to 2.4.0 (#56)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.5...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-03 03:04:15 +00:00
dependabot[bot]
07f936cc5a chore(deps): bump actions/checkout from 2.3.4 to 2.3.5 (#55)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.4...v2.3.5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-18 03:03:15 +00:00
Bret
6c3fb3be98 Merge pull request #54 from bcomnes/dependabot/npm_and_yarn/actions/core-1.6.0
chore(deps): bump @actions/core from 1.5.0 to 1.6.0
2021-09-29 10:30:33 -06:00
dependabot[bot]
e9268c51ec chore(deps): bump @actions/core from 1.5.0 to 1.6.0
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-29 03:03:58 +00:00
dependabot[bot]
5bdb1133e9 chore(deps): bump actions/setup-node from 2.4.0 to 2.4.1 (#53)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.4.0...v2.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 03:04:16 +00:00
dependabot[bot]
a552149863 chore(deps): bump fastify/github-action-merge-dependabot (#52)
Bumps [fastify/github-action-merge-dependabot](https://github.com/fastify/github-action-merge-dependabot) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/fastify/github-action-merge-dependabot/releases)
- [Commits](https://github.com/fastify/github-action-merge-dependabot/compare/v2.4.0...v2.5.0)

---
updated-dependencies:
- dependency-name: fastify/github-action-merge-dependabot
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-21 03:04:22 +00:00
Bret
6239763757 Merge pull request #51 from bcomnes/dependabot/npm_and_yarn/cpx2-4.0.0
chore(deps-dev): bump cpx2 from 3.0.2 to 4.0.0
2021-09-16 08:10:12 -06:00
dependabot[bot]
654c02d61e chore(deps-dev): bump cpx2 from 3.0.2 to 4.0.0
Bumps [cpx2](https://github.com/bcomnes/cpx2) from 3.0.2 to 4.0.0.
- [Release notes](https://github.com/bcomnes/cpx2/releases)
- [Changelog](https://github.com/bcomnes/cpx2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bcomnes/cpx2/compare/v3.0.2...v4.0.0)

---
updated-dependencies:
- dependency-name: cpx2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-16 03:06:16 +00:00
10 changed files with 12484 additions and 12391 deletions

View File

@@ -5,19 +5,27 @@ on:
push:
branches:
- master
env:
FORCE_COLOR: 2
node_version: lts/*
concurrency: # prevent concurrent deploys doing starnge things
group: deploy-to-neocities
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2
# 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@v2.4.0
uses: actions/setup-node@v2
with:
node-version: 15
node-version: ${{ env.node_version }}
- run: npm i
- run: npm run build
# When the dist_dir is ready, deploy it to neocities

View File

@@ -8,17 +8,22 @@ on:
required: true
env:
node_version: 14
node_version: lts/*
FORCE_COLOR: 2
concurrency: # prevent concurrent releases
group: npm-bump
cancel-in-progress: true
jobs:
version_and_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2
with:
# fetch full history so things like auto-changelog work properly
fetch-depth: 0
- uses: actions/setup-node@v2.4.0
- uses: actions/setup-node@v2
with:
node-version: ${{ env.node_version }}
# setting a registry enables the NODE_AUTH_TOKEN env variable where we can set an npm token. REQUIRED

View File

@@ -2,6 +2,9 @@ name: tests
on: [push, pull_request]
env:
FORCE_COLOR: 2
jobs:
test:
runs-on: ${{ matrix.os }}
@@ -9,12 +12,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [15]
node: [lts/*]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v2.4.0
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: npm i
@@ -23,8 +26,11 @@ jobs:
automerge:
needs: test
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- uses: fastify/github-action-merge-dependabot@v2.4.0
- uses: fastify/github-action-merge-dependabot@v3.0.2
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' && contains(github.head_ref, 'dependabot/github_actions') }}
with:
github-token: ${{secrets.github_token}}

View File

@@ -7,7 +7,42 @@ 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.1](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.0...v1.1.1)
## [v1.1.3](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.2...v1.1.3)
### 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
- add additional website [`#69`](https://github.com/bcomnes/deploy-to-neocities/pull/69)
- Add "Frontier Corps" [`#68`](https://github.com/bcomnes/deploy-to-neocities/pull/68)
- chore(deps): bump actions/setup-node from 2.5.0 to 2.5.1 [`#67`](https://github.com/bcomnes/deploy-to-neocities/pull/67)
- chore(deps): bump fastify/github-action-merge-dependabot [`#65`](https://github.com/bcomnes/deploy-to-neocities/pull/65)
- chore(deps): bump fastify/github-action-merge-dependabot [`#64`](https://github.com/bcomnes/deploy-to-neocities/pull/64)
- chore(deps): bump actions/setup-node from 2.4.1 to 2.5.0 [`#63`](https://github.com/bcomnes/deploy-to-neocities/pull/63)
- chore(deps): bump fastify/github-action-merge-dependabot [`#57`](https://github.com/bcomnes/deploy-to-neocities/pull/57)
- chore(deps): bump actions/checkout from 2.3.5 to 2.4.0 [`#56`](https://github.com/bcomnes/deploy-to-neocities/pull/56)
- chore(deps): bump actions/checkout from 2.3.4 to 2.3.5 [`#55`](https://github.com/bcomnes/deploy-to-neocities/pull/55)
- chore(deps): bump @actions/core from 1.5.0 to 1.6.0 [`#54`](https://github.com/bcomnes/deploy-to-neocities/pull/54)
- chore(deps): bump actions/setup-node from 2.4.0 to 2.4.1 [`#53`](https://github.com/bcomnes/deploy-to-neocities/pull/53)
- chore(deps): bump fastify/github-action-merge-dependabot [`#52`](https://github.com/bcomnes/deploy-to-neocities/pull/52)
- chore(deps-dev): bump cpx2 from 3.0.2 to 4.0.0 [`#51`](https://github.com/bcomnes/deploy-to-neocities/pull/51)
### 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)
## [v1.1.1](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.0...v1.1.1) - 2021-08-20
### Merged

View File

@@ -20,6 +20,10 @@ on:
branches:
- master
concurrency: # prevent concurrent deploys doing starnge things
group: deploy-to-neocities
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
@@ -130,6 +134,8 @@ None.
- https://cavacado.neocities.org
- https://wanderinginn.neocities.org
- https://andri.dk/blog/2021/deploy-static-websites-anywhere
- https://github.com/PersonMeetup/frontiercorps ([frontiercorps.neocities.org](https://frontiercorps.neocities.org/))
- https://github.com/riastrad/cyberbspace ([cyberb.space](https://cyberb.space))
- ...PR your site when you set it up!
## See also

20841
dist/index.js vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,15 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Deploy to Neocities</title>
<meta name='viewport' content='initial-scale=1, viewport-fit=cover'>
<link rel="shortcut icon" href="/favicon.ico">
<link rel="stylesheet" href="https://unpkg.com/highlight.js@^9/styles/github.css">
<link rel="stylesheet" href="https://unpkg.com/mine.css@^2/dist/style.css">
<link rel="stylesheet" href="https://unpkg.com/mine.css@^2/dist/layout.css">
</head>
<body>
<main class="markdown-body"></main>
</body>
</html>

View File

@@ -1,27 +1,27 @@
{
"name": "deploy-to-neocities",
"description": "Github Action to deplpoy a folder to Neocities.org",
"version": "1.1.1",
"version": "1.1.3",
"author": "Bret Comnes <bcomnes@gmail.com> (https://bret.io/)",
"bugs": {
"url": "https://github.com/bcomnes/deploy-to-neocities/issues"
},
"dependencies": {
"@actions/core": "1.5.0",
"@actions/core": "1.6.0",
"async-neocities": "2.1.1",
"minimatch": "^3.0.4",
"ms": "2.1.3",
"webassert": "3.0.2"
},
"devDependencies": {
"@siteup/cli": "^1.3.3",
"@vercel/ncc": "^0.33.1",
"auto-changelog": "^2.0.0",
"@zeit/ncc": "^0.22.0",
"budo": "^11.6.3",
"cpx2": "^3.0.0",
"browser-sync": "^2.27.7",
"dependency-check": "^4.1.0",
"gh-release": "^6.0.0",
"npm-run-all": "^4.1.5",
"sitedown": "^5.0.0",
"mkdirp": "^1.0.4",
"npm-run-all2": "^5.0.2",
"standard": "^16.0.0"
},
"homepage": "https://github.com/bcomnes/deploy-to-neocities#readme",
@@ -36,8 +36,7 @@
"scripts": {
"build": "npm run clean && run-p build:*",
"build:action": "rm -rf dist && ncc build index.js -o dist -s",
"build:md": "sitedown . -b public -l layout.html",
"build:static": "cpx './!(node_modules)**/*.{png,ico}' public",
"build:site": "siteup --src . --dest public",
"clean": "rimraf public && mkdirp public",
"release": "git push --follow-tags && gh-release -y",
"start": "npm run watch",
@@ -48,9 +47,8 @@
"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",
"watch": "npm run clean && run-p watch:*",
"watch:js": "budo --dir public --live --open",
"watch:md": "npm run build:md -- -w",
"watch:static": "npm run build:static -- --watch"
"watch:serve": "browser-sync start --server 'public' --files 'public'",
"watch:site": "npm run build:site -- -w"
},
"standard": {
"ignore": [