File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 10
10
pull_request :
11
11
branches : [ master ]
12
12
13
- defaults :
14
- run :
15
- working-directory : ./demo_app/01_plain/deploy/kustomize
16
-
17
13
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
18
14
jobs :
19
15
deploy_to_production :
20
16
runs-on : ubuntu-latest
21
17
name : Deploy to k8s cluster
22
18
steps :
19
+ - name : Check out the repo
20
+ uses : actions/checkout@v2
23
21
- name : Configure AWS credentials
24
22
uses : aws-actions/configure-aws-credentials@v1
25
23
with :
@@ -32,13 +30,13 @@ jobs:
32
30
KUBE_CONFIG_DATA : ${{ secrets.KUBE_CONFIG_DATA }}
33
31
IMAGE_TAG : ${{ github.sha }}
34
32
with :
35
- args : apply -k .
33
+ args : apply -k ./demo_app/01_plain/deploy/kustomize
36
34
- name : Get cluster info
37
35
uses : kodermax/kubectl-aws-eks@master
38
36
env :
39
37
KUBE_CONFIG_DATA : ${{ secrets.KUBE_CONFIG_DATA }}
40
38
IMAGE_TAG : ${{ github.sha }}
41
39
with :
42
- args : get -k .
40
+ args : get -k ./demo_app/01_plain/deploy/kustomize
43
41
44
42
You can’t perform that action at this time.
0 commit comments