mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
Merge branch 'main' into data-driven
This commit is contained in:
commit
960ca4b0f4
1 file changed
+8
-1
@@ -139,7 +139,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Trigger deployment
|
- name: Trigger deployment
|
||||||
|
|
||||||
if: ${{ github.ref == 'refs/heads/production' }}
|
# Deploy if:
|
||||||
|
# 1. Running cron from main using content from production to target production
|
||||||
|
# 2. Running manually and targeting non-production
|
||||||
|
if: >-
|
||||||
|
${{
|
||||||
|
github.ref == 'refs/heads/production' ||
|
||||||
|
(inputs.environment != '' && inputs.environment != 'production')
|
||||||
|
}}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
TOKEN: ${{ secrets.GH_NODE_DEPLOY_TOKEN }}
|
TOKEN: ${{ secrets.GH_NODE_DEPLOY_TOKEN }}
|
||||||
|
|||||||
Reference in new issue
Block a user