Skip to content

Commit

Permalink
[ci] Add action to actually upload docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rossberg committed Sep 13, 2024
1 parent 8a0d086 commit bdd94d2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,15 @@ jobs:
name: web-api-rendered
path: document/web-api/index.html

build-spec-versions:
- name: Checkout repo
uses: actions/checkout@v2
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: versions-rendered
path: document/versions/

publish-spec:
runs-on: ubuntu-latest
needs: [build-core-spec, build-js-api-spec, build-web-api-spec]
Expand All @@ -93,6 +102,11 @@ jobs:
with:
name: web-api-rendered
path: _output/web-api
- name: Download spec versions artifacts
uses: actions/download-artifact@v4
with:
name: versions-rendered
path: _output/versions
- name: Publish to GitHub Pages
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit bdd94d2

Please sign in to comment.