Skip to content

Commit 813fabe

Browse files
committed
Automate publication
1 parent 030485a commit 813fabe

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/pr-push.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Workflow based on the w3c/spec-prod action example to deploy to W3C using Echidna:
2+
# https://github.com/w3c/spec-prod/blob/main/docs/examples.md#deploy-to-w3c-using-echidna
3+
4+
name: CI
5+
6+
on:
7+
pull_request: {}
8+
push:
9+
branches: [main]
10+
11+
jobs:
12+
main:
13+
name: Build, Validate and Deploy
14+
runs-on: ubuntu-20.04
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: w3c/spec-prod@v2
18+
with:
19+
GH_PAGES_BRANCH: gh-pages
20+
W3C_ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN }}
21+
# Replace following with appropriate value. See options.md for details.
22+
W3C_WG_DECISION_URL: https://www.w3.org/2021/04/07-dap-minutes.html#r01
23+
W3C_BUILD_OVERRIDE: |
24+
status: WD
25+
shortname: ambient-light

0 commit comments

Comments
 (0)