Skip to content

Commit

Permalink
Update dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy0006 authored Jul 16, 2024
1 parent 8692c8f commit 8f48a58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: make directory for transfer
run: mkdir deploy
- name: Copy Jar
run: cp ./build/libs/*.jar ./palkia/
run: cp ./build/libs/*.jar ./deploy/
- name: copy file via ssh password
uses: appleboy/[email protected]
with:
Expand All @@ -47,7 +47,7 @@ jobs:
password: ${{ secrets.DEV_PASSWORD }}
key: ${{ secrets.DEV_KEY }}
port: ${{ secrets.SSH_PORT }}
source: "./palkia/*.jar"
source: "./deploy/*.jar"
target: /home/jimmy/k8s/
- name: restart server
uses: appleboy/[email protected]
Expand All @@ -59,5 +59,5 @@ jobs:
port: ${{ secrets.SSH_PORT }}
script: |
kubectl delete deployment palkia-deployment
kubectl apply -f /home/jimmy/k8s/palkia-deployment.yaml
kubectl apply -f ./k8s/palkia-deployment.yaml
kubectl rollout status deployment/palkia-deployment

0 comments on commit 8f48a58

Please sign in to comment.