From f7ed6fdc951c6c45a53fb34f348ea41ac1dc740d Mon Sep 17 00:00:00 2001 From: Scott Henderson Date: Thu, 6 Jun 2024 15:43:23 -0700 Subject: [PATCH] Update preview.yml --- .github/workflows/preview.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index da2ef1e..d31f1c2 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -14,14 +14,23 @@ concurrency: preview-${{ github.ref }} jobs: deploy-preview: runs-on: ubuntu-latest + defaults: + run: + shell: bash -el {0} steps: - name: Checkout uses: actions/checkout@v4 + - name: Install Conda environment with Micromamba + uses: mamba-org/setup-micromamba@v1 + with: + environment-file: environment.yml + cache-environment: true + - name: Install and Build if: github.event.action != 'closed' run: | - run: jb build book + jb build book - name: Deploy preview uses: rossjrw/pr-preview-action@v1