Fix ci/cd
This commit is contained in:
@@ -8,11 +8,6 @@ jobs:
|
|||||||
name: Pull and Restart
|
name: Pull and Restart
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Get IP
|
|
||||||
run: |
|
|
||||||
CONTAINER_IP=$(awk 'END{print $1}' /etc/hosts)
|
|
||||||
HOST_IP=$(echo $CONTAINER_IP | awk -F. '{print $1"."$2"."$3".1"}')
|
|
||||||
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