finalize workflows

This commit is contained in:
tresabhi committed 2026-08-12 11:44:26 -05:00
1 parent 7e184b8be0
commit 52630596b8
2 files changed
+18 -7

No files matched your search

+2 -1
View File
@@ -2,7 +2,7 @@ name: Discover IDs
on: on:
push: push:
branches: infrastructure branches: production
schedule: schedule:
- cron: 0 */6 * * * - cron: 0 */6 * * *
@@ -23,6 +23,7 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v6 uses: actions/checkout@v6
with: with:
ref: production
submodules: recursive submodules: recursive
token: ${{ secrets.GH_TOKEN }} token: ${{ secrets.GH_TOKEN }}
+16 -6
View File
@@ -2,19 +2,30 @@ name: Website
on: on:
push: push:
branches: production
schedule: schedule:
- cron: "0 4 * * *" - cron: "0 4 * * *"
workflow_dispatch: workflow_dispatch:
inputs: inputs:
branch:
description: Branch
type: choice
required: true
default: production
options:
- production
- main
environment: environment:
description: Environment description: Environment
required: true
# default: production
default: beta
type: choice type: choice
required: true
default: production
options: options:
- development - development
@@ -32,7 +43,7 @@ concurrency:
env: env:
# blitzkit # blitzkit
PUBLIC_ENVIRONMENT: ${{ inputs.environment || 'beta' }} PUBLIC_ENVIRONMENT: ${{ inputs.environment || 'production' }}
PUBLIC_PROMOTE_OPENTEST: false PUBLIC_PROMOTE_OPENTEST: false
PUBLIC_STATIC_ASSET_BASE: https://assets.blitzkit.app PUBLIC_STATIC_ASSET_BASE: https://assets.blitzkit.app
PUBLIC_GUIDE_WEBSITE: https://guidesblitz.com PUBLIC_GUIDE_WEBSITE: https://guidesblitz.com
@@ -73,6 +84,7 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v6 uses: actions/checkout@v6
with: with:
ref: ${{ inputs.branch || 'production' }}
submodules: recursive submodules: recursive
token: ${{ secrets.GH_TOKEN }} token: ${{ secrets.GH_TOKEN }}
@@ -137,8 +149,6 @@ jobs:
- name: Trigger deployment - name: Trigger deployment
if: github.ref_name == 'production' || github.ref_name == 'infrastructure'
env: env:
TOKEN: ${{ secrets.GH_NODE_DEPLOY_TOKEN }} TOKEN: ${{ secrets.GH_NODE_DEPLOY_TOKEN }}
CHUNK: ${{ matrix.chunk }} CHUNK: ${{ matrix.chunk }}