From 63069aa49cd0ddd54579f682e304e655abc2fe83 Mon Sep 17 00:00:00 2001 From: Ben Knutson Date: Wed, 18 Feb 2026 16:41:08 +0000 Subject: [PATCH] Refactor Github Action per b/485167538 --- .github/workflows/deploy_github_pages.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy_github_pages.yml b/.github/workflows/deploy_github_pages.yml index 6e3af7ca..f9674dcd 100644 --- a/.github/workflows/deploy_github_pages.yml +++ b/.github/workflows/deploy_github_pages.yml @@ -48,8 +48,11 @@ jobs: channel: 'stable' - name: Build Flutter web app - run: flutter build web -v --release --output /tmp/${{ matrix.package }} --base-href /${{ github.event.repository.name }}/${{ matrix.package }}/ + run: flutter build web -v --release --output /tmp/${MATRIX_PACKAGE} --base-href /${GITHUB_EVENT_REPOSITORY_NAME}/${MATRIX_PACKAGE}/ working-directory: packages/${{ matrix.package }}/example + env: + MATRIX_PACKAGE: ${{ matrix.package }} + GITHUB_EVENT_REPOSITORY_NAME: ${{ github.event.repository.name }} - name: Upload web build temporarily uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2