mirror of
https://github.com/Lapikud/tipilan.git
synced 2026-05-08 18:08:32 +00:00
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
@@ -13,21 +13,18 @@ on:
|
|||||||
default: teaser-2026
|
default: teaser-2026
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
env:
|
|
||||||
REF_NAME: ${{ github.event.inputs.ref || github.ref_name }}
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_teaser:
|
build_teaser:
|
||||||
if: ${{ env.REF_NAME == 'teaser-2026' }}
|
if: ${{ (github.event.inputs.ref || github.ref_name) == 'teaser-2026' }}
|
||||||
uses: ./.github/workflows/build.yml
|
uses: ./.github/workflows/build.yml
|
||||||
with:
|
with:
|
||||||
ref: ${{ env.REF_NAME }}
|
ref: ${{ github.event.inputs.ref || github.ref_name }}
|
||||||
runner: prox-1
|
runner: prox-1
|
||||||
secrets:
|
secrets:
|
||||||
USER_AUTH: ${{ secrets.USER_AUTH }}
|
USER_AUTH: ${{ secrets.USER_AUTH }}
|
||||||
|
|
||||||
deploy_teaser:
|
deploy_teaser:
|
||||||
if: ${{ env.REF_NAME == 'teaser-2026' }}
|
if: ${{ (github.event.inputs.ref || github.ref_name) == 'teaser-2026' }}
|
||||||
needs: build_teaser
|
needs: build_teaser
|
||||||
uses: ./.github/workflows/deploy.yml
|
uses: ./.github/workflows/deploy.yml
|
||||||
with:
|
with:
|
||||||
@@ -36,16 +33,16 @@ jobs:
|
|||||||
USER_AUTH: ${{ secrets.USER_AUTH }}
|
USER_AUTH: ${{ secrets.USER_AUTH }}
|
||||||
|
|
||||||
build_dev:
|
build_dev:
|
||||||
if: ${{ env.REF_NAME == 'development' }}
|
if: ${{ (github.event.inputs.ref || github.ref_name) == 'development' }}
|
||||||
uses: ./.github/workflows/build.yml
|
uses: ./.github/workflows/build.yml
|
||||||
with:
|
with:
|
||||||
ref: ${{ env.REF_NAME }}
|
ref: ${{ github.event.inputs.ref || github.ref_name }}
|
||||||
runner: prox-2
|
runner: prox-2
|
||||||
secrets:
|
secrets:
|
||||||
USER_AUTH: ${{ secrets.USER_AUTH }}
|
USER_AUTH: ${{ secrets.USER_AUTH }}
|
||||||
|
|
||||||
deploy_dev:
|
deploy_dev:
|
||||||
if: ${{ env.REF_NAME == 'development' }}
|
if: ${{ (github.event.inputs.ref || github.ref_name) == 'development' }}
|
||||||
needs: build_dev
|
needs: build_dev
|
||||||
uses: ./.github/workflows/deploy.yml
|
uses: ./.github/workflows/deploy.yml
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user