build: wip
Some checks failed
Publish / deploy_via_ssh (push) Failing after 7s

This commit is contained in:
2024-12-09 10:18:24 +03:00
parent 21608bd9b8
commit 253b45f11a

View File

@@ -3,8 +3,8 @@ name: Publish
run-name: ${{ github.actor }} publish
on:
push:
paths:
- 'manifests/**'
# paths:
# - 'manifests/**'
jobs:
deploy_via_ssh:
runs-on: ubuntu-latest
@@ -12,6 +12,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Remove current
uses: https://github.com/appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_KEY }}
port: 22
script: |
rm -rf /srv/teu/rewinged/packages/manifests
- name: Copy files
run: |
mkdir ~/.ssh
@@ -28,4 +38,4 @@ jobs:
key: ${{ secrets.SSH_KEY }}
port: 22
script: |
sudo docker container restart rewinger
docker container restart rewinged