Skip to content

Commit 5147d13

Browse files
committed
Use gh‑pages branch
1 parent 50b739f commit 5147d13

File tree

8 files changed

+40
-1874
lines changed

8 files changed

+40
-1874
lines changed

.gitattributes

-3
This file was deleted.

.github/workflows/build.yml

-19
This file was deleted.

.github/workflows/publish.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build and Deploy to GitHub Pages
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
build-and-deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout 🛎️
11+
uses: actions/checkout@v2
12+
with:
13+
persist-credentials: false
14+
15+
- name: Setup Node
16+
uses: actions/setup-node@v1
17+
with:
18+
node-version: '14.x'
19+
20+
- name: Install and Build 🔧
21+
run: |
22+
npm install
23+
npm run build
24+
- name: Deploy 🚀
25+
uses: peaceiris/actions-gh-pages@v3
26+
with:
27+
github_token: ${{ secrets.GITHUB_TOKEN }}
28+
publish_dir: ./out

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Output directory
2+
/out
3+
14
# Logs
25
logs
36
*.log

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ A repository template for ECMAScript proposals.
66

77
Please ensure the following:
88
1. You have read the [process document](https://tc39.github.io/process-document/)
9-
1. You have reviewed the [existing proposals](https://github.com/tc39/proposals/)
9+
1. You have reviewed the [existing proposals](https://github.com/tc39/proposals)
1010
1. You are aware that your proposal requires being a member of TC39, or locating a TC39 delegate to "champion" your proposal
1111

1212
## Create your proposal repo
1313

1414
Follow these steps:
1515
1. Click the green ["use this template"](https://github.com/tc39/template-for-proposals/generate) button in the repo header. (Note: Do not fork this repo in GitHub's web interface, as that will later prevent transfer into the TC39 organization)
16-
1. Go to your repo settings “Options” page, under “GitHub Pages”, and set the source to the **master branch** (and click Save, if it does not autosave this setting)
16+
1. Go to your repo settings “Options” page, under “GitHub Pages”, and set the source to the **`gh-pages` branch** (and click Save, if it does not autosave this setting)
1717
1. check "Enforce HTTPS"
1818
1. On "Options", under "Features", Ensure "Issues" is checked, and disable "Wiki", and "Projects" (unless you intend to use Projects)
1919
1. Under "Merge button", check "automatically delete head branches"
@@ -56,5 +56,5 @@ Follow these steps:
5656
1. Make your changes to `spec.emu` (ecmarkup uses HTML syntax, but is not HTML, so I strongly suggest not naming it ".html")
5757
1. Any commit that makes meaningful changes to the spec, should run `npm run build` and commit the resulting output.
5858
1. Whenever you update `ecmarkup`, run `npm run build` and commit any changes that come from that dependency.
59-
60-
[explainer]: https://github.com/tc39/how-we-work/blob/master/explainer.md
59+
60+
[explainer]: https://github.com/tc39/how-we-work/blob/master/explainer.md

0 commit comments

Comments
 (0)