Files
tipilan/.github/workflows/main.yml
2026-03-31 16:56:45 +03:00

28 lines
561 B
YAML

name: main
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 }}
deploy:
needs: build
uses: ./.github/workflows/deploy.yml
secrets:
USER_AUTH: ${{ secrets.USER_AUTH }}