Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Commit

Permalink
ci: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Zijian Zhang committed Mar 28, 2024
1 parent 1e77ac5 commit bbfe64c
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 299 deletions.
45 changes: 22 additions & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,28 +74,6 @@ jobs:
name: ${{ github.event.repository.name }}-viewer-${{ github.sha }}
path: viewer/build

build-pages:
needs:
- build-api-docs
- build-viewer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/download-artifact@v4
with:
name: ${{ github.event.repository.name }}-api-docs-${{ github.sha }}
path: site/api

- uses: actions/download-artifact@v4
with:
name: ${{ github.event.repository.name }}-viewer-${{ github.sha }}
path: site/viewer

- uses: actions/upload-pages-artifact@v3
with:
path: site

check-style-host:
runs-on: ubuntu-latest
steps:
Expand All @@ -112,15 +90,36 @@ jobs:
working-directory: host

deploy-pages:
concurrency:
group: github-pages
cancel-in-progress: false
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build-pages
needs:
- build-api-docs
- build-viewer
permissions:
id-token: write
pages: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/download-artifact@v4
with:
name: ${{ github.event.repository.name }}-api-docs-${{ github.sha }}
path: site/api

- uses: actions/download-artifact@v4
with:
name: ${{ github.event.repository.name }}-viewer-${{ github.sha }}
path: site/viewer

- uses: actions/upload-pages-artifact@v3
with:
path: site

- id: deployment
uses: actions/deploy-pages@v4

Expand Down
45 changes: 0 additions & 45 deletions host/.github/ISSUE_TEMPLATE/bug_report.yml

This file was deleted.

28 changes: 0 additions & 28 deletions host/.github/ISSUE_TEMPLATE/feature_request.yml

This file was deleted.

18 changes: 0 additions & 18 deletions host/.github/pull_request_template.md

This file was deleted.

92 changes: 0 additions & 92 deletions host/.github/workflows/build.yml

This file was deleted.

93 changes: 0 additions & 93 deletions host/.github/workflows/release.yml

This file was deleted.

0 comments on commit bbfe64c

Please sign in to comment.