Fix ci/cd
This commit is contained in:
@@ -8,6 +8,10 @@ jobs:
|
|||||||
name: Pull and Restart
|
name: Pull and Restart
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Get IP
|
||||||
|
run: |
|
||||||
|
HOST_IP=$(ip route show | awk '/default/ {print $3}')
|
||||||
|
echo "SERVER_HOST" >> $GITHUB_ENV
|
||||||
- name: SSH
|
- name: SSH
|
||||||
uses: appleboy/ssh-action@v1.0.3
|
uses: appleboy/ssh-action@v1.0.3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user