Skip to content

Commit 7f4efb1

Browse files
authored
Switch to w3c/spec-prod to automate publication to /TR (#411)
The code currently relies on Travis CI. This update replaces that with the w3c/spec-prod action and enables automatic publication.
1 parent 77912b0 commit 7f4efb1

File tree

9 files changed

+29
-121
lines changed

9 files changed

+29
-121
lines changed

.github/workflows/auto-publish.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://lists.w3.org/Archives/Public/public-device-apis/2021May/0008.html
23+
W3C_BUILD_OVERRIDE: |
24+
status: CRD
25+
shortname: generic-sensor

.travis.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

compile.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

deploy.sh

Lines changed: 0 additions & 66 deletions
This file was deleted.

deploy_key.enc

-3.31 KB
Binary file not shown.

deploy_key.pub

Lines changed: 0 additions & 1 deletion
This file was deleted.

echidna.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.

index.bs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@ Abstract:
1818
It does so by defining a blueprint for writing
1919
specifications of concrete sensors along with an abstract Sensor interface
2020
that can be extended to accommodate different sensor types.
21-
!Feedback: <a href="https://github.com/w3c/sensors">GitHub</a> (<a href="https://github.com/w3c/sensors/issues/new">new issue</a>, <a href="https://github.com/w3c/sensors/milestone/2">level 1 issues</a>, <a href="https://github.com/w3c/sensors/issues">all issues</a>)
21+
Issue Tracking: Generic Sensor API Issues Repository https://github.com/w3c/sensors/issues
2222
!Other: <a href="https://github.com/web-platform-tests/wpt/tree/master/generic-sensor">Test suite</a>, <a href="https://github.com/w3c/sensors/commits/main/index.bs">latest version history</a>, <a href="https://github.com/w3c/sensors/commits/gh-pages/index.bs">previous version history</a>
2323
Indent: 2
2424
Repository: w3c/sensors
2525
Markup Shorthands: markdown on
26-
Boilerplate: omit issues-index, omit conformance, omit feedback-header
26+
Boilerplate: omit issues-index, omit conformance, omit feedback-header, repository-issue-tracking no
27+
Include MDN Panels: if possible
28+
Implementation Report: https://www.w3.org/wiki/DAS/Implementations
2729
Ignored Vars: activated_sensors
2830
Inline GitHub Issues: yes
2931
Default Biblio Status: current

update

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)