This commit is contained in:
@@ -16,3 +16,13 @@ jobs:
|
|||||||
chmod 700 ~/.ssh
|
chmod 700 ~/.ssh
|
||||||
chmod 600 ~/.ssh/id_ed25519
|
chmod 600 ~/.ssh/id_ed25519
|
||||||
scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -r ${{ gitea.workspace }}/manifests ${{ secrets.USERNAME }}@${{ secrets.HOST }}:/srv/teu/rewinger/packages/
|
scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -r ${{ gitea.workspace }}/manifests ${{ secrets.USERNAME }}@${{ secrets.HOST }}:/srv/teu/rewinger/packages/
|
||||||
|
|
||||||
|
- name: Restart container
|
||||||
|
uses: appleboy/ssh-action@master
|
||||||
|
with:
|
||||||
|
host: ${{ secrets.HOST }}
|
||||||
|
username: ${{ secrets.USERNAME }}
|
||||||
|
key: ${{ secrets.SSH_KEY }}
|
||||||
|
port: 22
|
||||||
|
script: |
|
||||||
|
sudo docker container restart rewinger
|
||||||
|
|||||||
Reference in New Issue
Block a user