build: fix gitea actions
This commit is contained in:
18
.gitea/workflows/publish.yml
Normal file
18
.gitea/workflows/publish.yml
Normal 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
|
||||
Reference in New Issue
Block a user