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
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ jobs:
- name: Lint
run: yarn lint

website:
name: Test build website
playground:
name: Test build playground
if: github.ref != 'refs/heads/main'
runs-on: ubuntu-latest

Expand All @@ -93,11 +93,11 @@ jobs:
- name: Build
run: yarn build

- name: Build website
run: yarn website:build
- name: Build playground
run: yarn playground:build

deploy:
name: Deploy website
name: Deploy playground
permissions:
contents: write
needs: [tests, lint]
Expand All @@ -119,11 +119,11 @@ jobs:
- name: Build
run: yarn build

- name: Build website
run: yarn website:build
- name: Build playground
run: yarn playground:build

- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: website/dist
folder: playground/dist
Loading