From 38b31bdf187eea09a85054e0a0b3ac0cb82e5ba3 Mon Sep 17 00:00:00 2001 From: Rene Floor Date: Thu, 22 Jan 2026 10:20:28 +0100 Subject: [PATCH 1/2] Add workflow to publish design system gallery --- .github/workflows/publish_gallery.yml | 42 +++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/publish_gallery.yml diff --git a/.github/workflows/publish_gallery.yml b/.github/workflows/publish_gallery.yml new file mode 100644 index 0000000..4be39ec --- /dev/null +++ b/.github/workflows/publish_gallery.yml @@ -0,0 +1,42 @@ +name: Publish Design System Gallery + +on: + push: + branches: + - main-design-system + workflow_dispatch: + +env: + FLUTTER_VERSION: "3.38.7" + FLUTTER_CHANNEL: stable + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + build_and_deploy_gallery: + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - name: Checkout code + uses: actions/checkout@v6 + + - name: config git + run: | + git config --global user.email "$(git log --format='%ae' HEAD^!)" + git config --global user.name "$(git log --format='%an' HEAD^!)" + git fetch origin gh-pages:gh-pages + + - name: Setup Flutter + uses: subosito/flutter-action@v2 + with: + cache: true + channel: ${{ env.FLUTTER_CHANNEL }} + flutter-version: ${{ env.FLUTTER_VERSION }} + + - name: Build and Deploy + uses: bluefireteam/flutter-gh-pages@v9 + with: + baseHref: /stream-core-flutter/ + workingDir: apps/design_system_gallery From c876e341e33801313f5d1881be362ef0ee64cc32 Mon Sep 17 00:00:00 2001 From: Rene Floor Date: Thu, 22 Jan 2026 10:24:35 +0100 Subject: [PATCH 2/2] remove specific flutter version --- .github/workflows/publish_gallery.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/publish_gallery.yml b/.github/workflows/publish_gallery.yml index 4be39ec..769e779 100644 --- a/.github/workflows/publish_gallery.yml +++ b/.github/workflows/publish_gallery.yml @@ -7,7 +7,6 @@ on: workflow_dispatch: env: - FLUTTER_VERSION: "3.38.7" FLUTTER_CHANNEL: stable concurrency: