From 7d45acc26f2a4e0a3576bd8d9f0a60cef6b7c887 Mon Sep 17 00:00:00 2001 From: v4ltages Date: Tue, 31 Mar 2026 16:56:45 +0300 Subject: [PATCH] Build teaser-2026 into prod --- .github/workflows/build.yml | 8 ++++++++ .github/workflows/main.yml | 9 +++++++++ 2 files changed, 17 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9170261..b992a7f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,6 +2,12 @@ name: build on: workflow_call: + inputs: + ref: + description: Branch or tag to checkout + required: false + default: teaser-2026 + type: string secrets: USER_AUTH: required: true @@ -17,6 +23,8 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + with: + ref: ${{ inputs.ref }} - name: Setup Bun uses: oven-sh/setup-bun@v2 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9f6a43f..630df8a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,10 +4,19 @@ on: push: branches: - main + workflow_dispatch: + inputs: + ref: + description: Branch or tag to build and deploy + required: false + default: teaser-2026 + type: string jobs: build: uses: ./.github/workflows/build.yml + with: + ref: ${{ github.event_name == 'workflow_dispatch' && inputs.ref || github.ref_name }} secrets: USER_AUTH: ${{ secrets.USER_AUTH }}