build: scp publish
Some checks failed
Publish / deploy_via_ssh (push) Failing after 5s

This commit is contained in:
2023-07-08 20:42:29 +03:00
parent c123716719
commit 6c1cd0a98f

View File

@@ -6,14 +6,16 @@ jobs:
deploy_via_ssh:
runs-on: ubuntu-latest
steps:
- name: Pull package repository
uses: https://github.com/appleboy/ssh-action@master
- name: Checkout
uses: actions/checkout@v3
- name: Copy files
uses: appleboy/scp-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 git@gitea.sinav-lab.com:2222:sinav/winget-pkgs.git
source: ./manifests/*
target: /srv/teu/rewinger/packages/
overwrite: true