Merge pull request #110 from Lapikud/workflow-update

Change workflow to build teaser-2026 page
This commit is contained in:
Renkar
2026-03-31 17:16:21 +03:00
committed by GitHub
2 changed files with 17 additions and 0 deletions

View File

@@ -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

View File

@@ -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 }}