From c9563d6b44e1f446848db6bd654a3a1e97fcec76 Mon Sep 17 00:00:00 2001 From: 0o-de-lally <1364012+0o-de-lally@users.noreply.github.com> Date: Thu, 1 Aug 2024 11:35:41 -0400 Subject: [PATCH] update preview ci version --- .github/workflows/preview.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 99165f4f..2394561d 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -24,19 +24,22 @@ jobs: - uses: oven-sh/setup-bun@v2 # this has to match docusaurus's baseURL in docusaurus.config.js - run: echo "GH_ACTION_DOCUSAURUS_BASE_URL=pr-preview/pr-${{ github.event.number }}" >> "$GITHUB_ENV" + + # - name: Always clean + # uses: rossjrw/pr-preview-action@v1 + # with: + # source-dir: ./build + # action: remove + - name: Install and Build if: github.event.action != 'closed' # You might want to skip the build if the PR has been closed run: | bun install --frozen-lockfile bun run build - - name: Always clean - uses: rossjrw/pr-preview-action@v1 - with: - source-dir: ./build - action: remove + - name: Deploy preview - uses: rossjrw/pr-preview-action@v1 + uses: rossjrw/pr-preview-action@v1.4.7 with: source-dir: ./build