Skip to content

Commit 6c1568b

Browse files
authored
Switch the GH Action to spec-prod. (#544)
1 parent 9bc1621 commit 6c1568b

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
name: deploy
22

33
on:
4+
pull_request: {}
45
push:
56
branches: [ main ]
67

78
jobs:
89
build:
910
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
1013
steps:
11-
- uses: actions/checkout@v2
12-
- uses: actions/setup-python@v2
14+
- uses: actions/checkout@v4
15+
- uses: w3c/spec-prod@v2
1316
with:
14-
python-version: '3.10'
15-
- run: pip install bikeshed
16-
- run: bikeshed update --skip-manifest
17-
- run: make
18-
- uses: peaceiris/actions-gh-pages@v3
19-
with:
20-
github_token: ${{ secrets.GITHUB_TOKEN }}
21-
publish_dir: build
17+
BUILD_FAIL_ON: warning
18+
GH_PAGES_BRANCH: gh-pages

0 commit comments

Comments
 (0)