From 6e588b27479531bcff2af19ae27cca83d8a441d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B8xbro=20Hansen?= Date: Mon, 9 Dec 2024 15:59:45 +0100 Subject: [PATCH] ci: Update gallery (#7541) --- .github/workflows/gallery.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gallery.yaml b/.github/workflows/gallery.yaml index 761cc05733..1ff28c97db 100644 --- a/.github/workflows/gallery.yaml +++ b/.github/workflows/gallery.yaml @@ -35,9 +35,11 @@ jobs: python-version: '3.10' - name: Set and echo git ref id: vars + env: + HEAD_BRANCH: ${{ github.event.workflow_run.head_branch }} run: | - echo 'Deploying from ref ${{ github.event.workflow_run.head_branch }}' - echo 'tag=${{ github.event.workflow_run.head_branch }}' >> $GITHUB_OUTPUT + echo "Deploying from ref $HEAD_BRANCH" + echo "tag=$HEAD_BRANCH" >> $GITHUB_OUTPUT - uses: conda-incubator/setup-miniconda@v2 with: miniconda-version: "latest"