This commit is contained in:
@@ -23,5 +23,13 @@ jobs:
|
|||||||
IMAGE_TAG="git.madsky.ru/vadim/socket-service:${{ gitea.sha }}"
|
IMAGE_TAG="git.madsky.ru/vadim/socket-service:${{ gitea.sha }}"
|
||||||
docker tag git.madsky.ru/vadim/socket-service $IMAGE_TAG
|
docker tag git.madsky.ru/vadim/socket-service $IMAGE_TAG
|
||||||
docker push $IMAGE_TAG
|
docker push $IMAGE_TAG
|
||||||
|
- name: Execute remote SSH commands
|
||||||
|
uses: appleboy/ssh-action@v1
|
||||||
|
with:
|
||||||
|
host: 192.168.1.11
|
||||||
|
username: ${{ secrets.USERNAME }}
|
||||||
|
key: ${{ secrets.KEY }}
|
||||||
|
script: |
|
||||||
|
cd docker && docker compose up -d
|
||||||
- name: Ready
|
- name: Ready
|
||||||
run: echo "Success!"
|
run: echo "Success!"
|
||||||
Reference in New Issue
Block a user