Skip to content

Commit

Permalink
ci(cd): add dc deploy workflow for tag releases
Browse files Browse the repository at this point in the history
  • Loading branch information
andhreljaKern committed Nov 7, 2024
1 parent 392a9e9 commit 157a2bd
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/dc_deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'DC: Prepare Deployment' # rename

on:
# workflow_dispatch:
release:
types: [prereleased]
pull_request:
branches:
- dev
types: [closed]

# Special permissions required for OIDC authentication
permissions:
id-token: write
contents: read
actions: read

jobs:
call-dc-release:
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/dc_release.yml@dev
if: github.event_name == 'pull_request' && github.event.pull_request.merged || github.event_name == 'release'
secrets: inherit

0 comments on commit 157a2bd

Please sign in to comment.