Files
winget-pkgs/.gitea/workflows/publish.yml
sinav b6a7eb0959
Some checks failed
Publish / deploy_via_ssh (push) Failing after 2s
build: fix action
2023-07-08 19:42:50 +03:00

20 lines
542 B
YAML

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