-
Notifications
You must be signed in to change notification settings - Fork 2
29 lines (25 loc) · 933 Bytes
/
deploy-test-bulk.yml
File metadata and controls
29 lines (25 loc) · 933 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Orchestrator workflow for deploying Fabric items to the Test workspace via the Bulk Import API.
#
# Alternative to deploy-test.yml. Both fire on push to test; only one runs based
# on the DEPLOY_METHOD repository variable:
# - DEPLOY_METHOD = 'bulk' → this workflow runs
# - DEPLOY_METHOD = 'fabric-cicd' or '' → deploy-test.yml runs
# - any other value → both skip (safe default)
#
# The ETL workflow (etl-test.yml) triggers automatically via workflow_run
# once deployment completes successfully.
name: Deploy to Test (Bulk API)
on:
push:
branches: [test]
paths: ["data/fabric/**", ".github/workflows/**"]
permissions:
contents: read
jobs:
deploy-bulk:
name: Deploy via Bulk Import API
if: vars.DEPLOY_METHOD == 'bulk'
uses: ./.github/workflows/reusable-deploy-bulk.yml
with:
environment: Test
secrets: inherit