From 8d0b01764b26c26c978f5165d0bc38ee4432d400 Mon Sep 17 00:00:00 2001 From: sinav Date: Sat, 8 Jul 2023 19:39:15 +0300 Subject: [PATCH] build: fix gitea actions --- .gitea/workflows/publish.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitea/workflows/publish.yml diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml new file mode 100644 index 0000000..79dc607 --- /dev/null +++ b/.gitea/workflows/publish.yml @@ -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