Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 24 additions & 16 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,31 @@
name: Build and Deploy
name: Build, and publish spec to GitHub Pages and /TR/

on:
pull_request: {}
push:
branches:
- main
branches: [main]
paths:
- 'images/**'
- 'logo/**'
- 'index.bs'
- 'anchors-w3c.txt'

jobs:
build-and-deploy:
main:
name: Build, Validate and Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
- uses: actions/checkout@v6
- uses: w3c/spec-prod@v2
with:
persist-credentials: false
TOOLCHAIN: bikeshed
SOURCE: index.bs
DESTINATION: index.html
GH_PAGES_BRANCH: gh-pages
W3C_ECHIDNA_TOKEN: ${{ secrets.W3C_TR_TOKEN }}
W3C_WG_DECISION_URL: https://lists.w3.org/Archives/Public/public-tt/2026Apr/0002.html
W3C_BUILD_OVERRIDE: |
status: CRD

# not set 'warning' to BUILD_FAIL_ON (not to cause error by bikeshed warning?)

- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: make
- name: Prepare Deploy folder
run: mkdir deploy && rsync -av --exclude=.git --exclude=.gitignore --exclude=deploy . deploy/
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.0.0
with:
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: deploy # The folder the action should deploy.
Empty file removed .gitmodules
Empty file.
1 change: 0 additions & 1 deletion .htaccess

This file was deleted.

8 changes: 0 additions & 8 deletions Makefile

This file was deleted.

2 changes: 0 additions & 2 deletions W3CTRMANIFEST.txt

This file was deleted.

File renamed without changes
4 changes: 2 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Group: texttracks
ED: https://w3c.github.io/webvtt/
TR: https://www.w3.org/TR/webvtt1/
Level: none
Editor: Gary Katsevman, Invited Expert, w3c@gkatsev.com
Editor: Gary Katsevman 102836, Invited Expert, w3c@gkatsev.com
Former Editor: Silvia Pfeiffer, NICTA CSIRO https://www.csiro.au/, silviapfeiffer1@gmail.com
Former Editor: Simon Pieters, Opera Software AS http://www.opera.com/, simonp@opera.com
Former Editor: Philip Jägenstedt, Opera Software ASA http://www.opera.com/, philipj@opera.com
Expand Down Expand Up @@ -1413,7 +1413,7 @@ together, which is particularly important when scrolling up.</p>
<p>The following diagram illustrates how anchoring of a region to a video viewport works. The black
cross is the anchor, orange explains the anchor's offset within the region and green the anchor's
offset within the video viewport. Think of it as sticking a pin through a note onto a board:</p>
<p><img src="webvtt-region-diagram.png" alt="visual explanation of WebVTT regions"
<p><img src="images/webvtt-region-diagram.png" alt="visual explanation of WebVTT regions"
longdesc=#regionsExplained width="862" height="499"></p>
<p id=regionsExplained>Image description: Within the video viewport, there is a WebVTT region.
Inside the region, there is an anchor point marked with a black cross. The vertical and horizontal
Expand Down
84 changes: 0 additions & 84 deletions snapshot.sh

This file was deleted.

Loading