Skip to content

deploy_staging

deploy_staging #449

name: deploy_staging
on:
workflow_run:
workflows:
- "product_builder"
branches:
- "develop"
types:
- completed
permissions:
contents: read
pull-requests: read
actions: read
jobs:
restart_deployments:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-22.04
container:
image: bitnami/kubectl:1.26
steps:
- name: Rollout restart
run: |
echo "${{secrets.AKS_STAGING_CICD_KUBECONFIG}}" > /tmp/kubeconfig
kubectl --kubeconfig=/tmp/kubeconfig -n dyo-staging rollout restart deployment crux-api crux-kratos crux-ui