Skip to content

Commit 98e50fa

Browse files
authored
cd-deployment on tag (#38) (#39)
1 parent c0ca797 commit 98e50fa

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

.github/workflows/cd.yaml

-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
2525
- uses: extractions/setup-just@v1
2626

2727
- name: Build and publish image with jib
28-
if: ${{ github.ref == 'refs/heads/main' }}
2928
run: just build-push-image
3029
env:
3130
DOCKER_USER: ${{ github.actor }}
@@ -46,14 +45,12 @@ jobs:
4645
name: Setup kubectl client
4746

4847
- name: create KUBECONFIG
49-
if: ${{ github.ref == 'refs/heads/main' }}
5048
run: |
5149
echo ${{ secrets.KUBE_CONFIG }} | base64 --decode > kube-config;
5250
chmod 600 kube-config;
5351
echo "KUBECONFIG=$(pwd)/kube-config" >> "$GITHUB_ENV"
5452
5553
- name: Deploy on k8
56-
if: ${{ github.ref == 'refs/heads/main' }}
5754
run: |
5855
kubectl config current-context;
5956
just helm-upgrade;

0 commit comments

Comments
 (0)