Skip to content

Commit ef54b6b

Browse files
Update main.yml
1 parent d009607 commit ef54b6b

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,15 @@ jobs:
4747
password: ${{ secrets.DOCKER_PASSWORD }}
4848
registry: docker.io
4949
repository: anujsharma1990/nodejsimage
50-
- uses: actions-hub/kubectl@master
50+
- name: Check Kubernetes Connectivity
51+
uses: actions-hub/kubectl@master
5152
env:
5253
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
5354
with:
5455
args: get pods
56+
- name: Deploying Kubernetes Deployment YAML
57+
uses: actions-hub/kubectl@master
58+
env:
59+
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
60+
with:
61+
args: apply -f deployment.yaml

0 commit comments

Comments
 (0)