Skip to content

Commit

Permalink
chore(workflows): Only enable manual deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
devsjc committed Mar 3, 2025
1 parent c3160ab commit 1d487ce
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/_dag_deploy.yml → .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ on:
tag:
required: true
description: The repo tag to deploy
workflow_call:
inputs:
deploy_target:
description: 'The target environment to deploy to'
required: true
type: string
tag:
description: The repo tag to deploy
required: true
type: string

jobs:
deploy-dags:
Expand Down
16 changes: 0 additions & 16 deletions .github/workflows/merged_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,3 @@ jobs:
uses: openclimatefix/.github/.github/workflows/default_branch_pr_merged_ci.yml@main
secrets: inherit

deploy-dev:
needs: merged-ci
uses: openclimatefix/airflow-dags/.github/workflows/_dag_deploy.yml@main
secrets: inherit
with:
deploy_target: development
tag: ${{ needs.merged-ci.outputs.tag }}

deploy-prod:
needs: merged-ci
uses: openclimatefix/airflow-dags/.github/workflows/_dag_deploy.yml@main
secrets: inherit
with:
deploy_target: production
tag: ${{ needs.merged-ci.outputs.tag }}

0 comments on commit 1d487ce

Please sign in to comment.