Skip to content

Commit 5a0b72c

Browse files
committed
Revert to simpler
1 parent fd50ff3 commit 5a0b72c

File tree

1 file changed

+4
-26
lines changed

1 file changed

+4
-26
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,41 +7,19 @@ on:
77
workflow_dispatch: {}
88

99
permissions:
10-
contents: read
11-
pages: write
12-
id-token: write
13-
14-
concurrency:
15-
group: "pages"
16-
cancel-in-progress: false
10+
contents: write
1711

1812
jobs:
19-
build:
20-
name: Build Spec
13+
main:
14+
name: Build, Validate and Deploy
2115
runs-on: ubuntu-latest
2216
steps:
2317
- uses: actions/checkout@v4
2418
- uses: w3c/spec-prod@v2
2519
with:
2620
SOURCE: index.bs
2721
TOOLCHAIN: bikeshed
22+
GH_PAGES_BRANCH: gh-pages
2823
VALIDATE_LINKS: false
2924
VALIDATE_MARKUP: false
30-
- name: Upload artifact
31-
uses: actions/upload-pages-artifact@v3
32-
with:
33-
path: ./
34-
35-
deploy:
36-
name: Deploy to GitHub Pages
37-
if: github.ref == 'refs/heads/main'
38-
needs: build
39-
runs-on: ubuntu-latest
40-
environment:
41-
name: github-pages
42-
url: ${{ steps.deployment.outputs.page_url }}
43-
steps:
44-
- name: Deploy to GitHub Pages
45-
id: deployment
46-
uses: actions/deploy-pages@v4
4725

0 commit comments

Comments
 (0)