Skip to content

Commit

Permalink
site: Fix Playroom Preview deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltaranto committed Nov 25, 2024
1 parent 1fb2d5d commit e83202f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
run: pnpm i

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
version: pnpm run version
Expand All @@ -41,17 +42,19 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Build site
if: steps.changesets.outputs.published == 'true'
run: pnpm build:site
env:
BASE_NAME: /braid-design-system

- name: Deploy site
if: steps.changesets.outputs.published == 'true'
uses: JamesIves/github-pages-deploy-action@881db5376404c5c8d621010bcbec0310b58d5e29 # 4.6.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
folder: ./site/dist
# Preserve the preview deployment folder and custom grad-connection site
clean-exclude: |
preview/*
grad-connection/*
/preview/*
/grad-connection/*
single-commit: true

0 comments on commit e83202f

Please sign in to comment.