Skip to content

Commit 79e265a

Browse files
authored
Update cd.yml
1 parent 84cc371 commit 79e265a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/cd.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,14 @@ on:
1010
pull_request:
1111
branches: [ master ]
1212

13-
defaults:
14-
run:
15-
working-directory: ./demo_app/01_plain/deploy/kustomize
16-
1713
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1814
jobs:
1915
deploy_to_production:
2016
runs-on: ubuntu-latest
2117
name: Deploy to k8s cluster
2218
steps:
19+
- name: Check out the repo
20+
uses: actions/checkout@v2
2321
- name: Configure AWS credentials
2422
uses: aws-actions/configure-aws-credentials@v1
2523
with:
@@ -32,13 +30,13 @@ jobs:
3230
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }}
3331
IMAGE_TAG: ${{ github.sha }}
3432
with:
35-
args: apply -k .
33+
args: apply -k ./demo_app/01_plain/deploy/kustomize
3634
- name: Get cluster info
3735
uses: kodermax/kubectl-aws-eks@master
3836
env:
3937
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }}
4038
IMAGE_TAG: ${{ github.sha }}
4139
with:
42-
args: get -k .
40+
args: get -k ./demo_app/01_plain/deploy/kustomize
4341

4442

0 commit comments

Comments
 (0)