Skip to content

Commit ff34082

Browse files
ci(cd): add dc deploy workflow for tag releases (#130)
1 parent bd44258 commit ff34082

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/dc_deploy.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: 'DC: Prepare Deployment' # rename
2+
3+
on:
4+
# workflow_dispatch:
5+
release:
6+
types: [prereleased]
7+
pull_request:
8+
branches:
9+
- dev
10+
types: [closed]
11+
12+
# Special permissions required for OIDC authentication
13+
permissions:
14+
id-token: write
15+
contents: read
16+
actions: read
17+
18+
jobs:
19+
call-dc-release:
20+
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/dc_release.yml@dev
21+
if: github.event_name == 'pull_request' && github.event.pull_request.merged || github.event_name == 'release'
22+
secrets: inherit

0 commit comments

Comments
 (0)