Skip to content

Commit

Permalink
fix : github actions 내 k8s 실행 로직 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
phjppo0918 committed Jan 18, 2023
1 parent e475da6 commit 61fd1e8
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions .github/workflows/cd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,14 @@ jobs:
- uses: actions-hub/kubectl@master
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
with:
args: delete secret database-secret

- uses: actions-hub/kubectl@master
with:
args: create secret generic myway-database-secret \
--from-literal=server.url=1234 \
--from-literal=server.port=1234 \

- uses: actions-hub/kubectl@master
with:
args: delete svc myway-frontend
# - uses: actions-hub/kubectl@master
# with:
# args: delete svc myway-frontend

- uses: actions-hub/kubectl@master
with:
args: delete deploy myway-frontend
# - uses: actions-hub/kubectl@master
# with:
# args: delete deploy myway-frontend

- uses: actions-hub/kubectl@master
# - uses: actions-hub/kubectl@master
with:
args: apply -k ./frontend
args: apply -k ./frontend

0 comments on commit 61fd1e8

Please sign in to comment.