Skip to content

Commit

Permalink
fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
splattner committed May 29, 2024
1 parent ce1e13e commit d896892
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,20 @@ jobs:
tags: quay.io/acend/website-backend
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
-
name: Redeploy Prod Deployment
uses: actions-hub/kubectl@master
env:
KUBE_CONFIG: ${{ secrets.KUBECONFIG_BASE64 }}
-
name: Install Kubectl
uses: azure/setup-kubectl@v4
with:
args: rollout restart deployment/latest-acend-website-backend --namespace acend-website
version: v1.21.2
-
name: Create KUBECONFIG
env:
KUBE_CONFIG: '${{ secrets.KUBECONFIG_K8S_ACEND }}'
run: |
mkdir -p $HOME/.kube
echo "$KUBE_CONFIG" > $HOME/.kube/config
-
name: Redeploy Deployments
run: |
kubectl rollout restart deployment/latest-acend-website-backend --namespace acend-website

0 comments on commit d896892

Please sign in to comment.