forked from PoolC/Mincho
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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: | ||
|
@@ -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 |