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 fffa55e commit a75d7b9
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,16 @@ jobs:
key: ${{ secrets.DEV_KEY }}
port: ${{ secrets.SSH_PORT }}
source: "./build/libs/*.jar"
target: /home/ubuntu/palkiabuilds/
# - name: restart server
# uses: appleboy/[email protected]
# with:
# host: ${{ secrets.SERVER_HOST }}
# username: ${{ secrets.SERVER_USER }}
# password: ${{ secrets.SSH_PASSWORD }}
# key: ${{ secrets.KEY }}
# port: ${{ secrets.SSH_PORT }}
# script: |
# cd dockercompose/palkia
# docker compose down
# docker compose up -d --build

target: /home/jimmy/k8s/palkia/
- name: restart server
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USER }}
password: ${{ secrets.SSH_PASSWORD }}
key: ${{ secrets.KEY }}
port: ${{ secrets.SSH_PORT }}
script: |
kubectl delete deployment palkia-deployment
kubectl apply -f palkia-deployment.yaml
kubectl rollout status deployment/palkia-deployment

0 comments on commit a75d7b9

Please sign in to comment.