Skip to content

Commit 8912065

Browse files
committed
Setup automations
1 parent eb65c6d commit 8912065

File tree

6 files changed

+31
-69
lines changed

6 files changed

+31
-69
lines changed

.github/workflows/github-pages.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Use Node.js
15+
uses: actions/setup-node@v1
16+
with:
17+
node-version: 12.x
18+
- run: npm install
19+
- run: npm run build
20+
- run: |
21+
npx gh-pages -d build \
22+
-b gh-pages \
23+
--repo "https://$GITHUB_ACTOR:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY.git" \
24+
--user "Auto Doc Publisher <[email protected]>" \
25+
--no-history

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/node_modules/
2-
/out/
2+
/build/
33

44
npm-debug.log
55
deploy_key

.travis.yml

-7
This file was deleted.

deploy.sh

-59
This file was deleted.

deploy_key.enc

-3.17 KB
Binary file not shown.

package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44
"version": "1.0.0",
55
"description": "Zones proposal for JavaScript",
66
"scripts": {
7-
"spec": "ecmarkup spec.html out/index.html"
7+
"build": "mkdir -p build && ecmarkup spec.html build/index.html"
88
},
9-
"repository": "domenic/zones",
9+
"repository": "legendecas/zones",
1010
"keywords": [
11+
"async",
12+
"context",
13+
"async-context",
1114
"zone",
1215
"tc39",
1316
"javascript",

0 commit comments

Comments
 (0)