build: fix gitea actions
Some checks failed
Deploy / Explore-Gitea-Actions (push) Successful in 4s
Publish / deploy_via_ssh (push) Failing after 2s

This commit is contained in:
2023-07-08 19:39:15 +03:00
parent 2244002202
commit 8d0b01764b

View File

@@ -0,0 +1,18 @@
---
name: Publish
run-name: ${{ github.actor }} publish
on: [push]
jobs:
deploy_via_ssh:
runs-on: ubuntu-latest
steps:
- name: Pull package repository
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_KEY }}
port: 22
script: |
cd /srv/teu/rewinger/packages/
git pull