Skip to content

Commit

Permalink
Update dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy0006 committed Jul 16, 2024
1 parent 6271f78 commit 8692c8f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 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 ./deploy/
run: cp ./build/libs/*.jar ./palkia/
- name: copy file via ssh password
uses: appleboy/[email protected]
with:
Expand All @@ -47,8 +47,8 @@ jobs:
password: ${{ secrets.DEV_PASSWORD }}
key: ${{ secrets.DEV_KEY }}
port: ${{ secrets.SSH_PORT }}
source: "./build/libs/*.jar"
target: /home/jimmy/k8s/palkia/
source: "./palkia/*.jar"
target: /home/jimmy/k8s/
- name: restart server
uses: appleboy/[email protected]
with:
Expand All @@ -59,5 +59,5 @@ jobs:
port: ${{ secrets.SSH_PORT }}
script: |
kubectl delete deployment palkia-deployment
kubectl apply -f palkia-deployment.yaml
kubectl apply -f /home/jimmy/k8s/palkia-deployment.yaml
kubectl rollout status deployment/palkia-deployment

0 comments on commit 8692c8f

Please sign in to comment.