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: deploy_via_ssh:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Pull package repository - name: Checkout
uses: https://github.com/appleboy/ssh-action@master uses: actions/checkout@v3
- name: Copy files
uses: appleboy/scp-action@master
with: with:
host: ${{ secrets.HOST }} host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }} username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_KEY }} key: ${{ secrets.SSH_KEY }}
port: 22 port: 22
script: | source: ./manifests/*
cd /srv/teu/rewinger/packages/ target: /srv/teu/rewinger/packages/
git config --global --add safe.directory /srv/teu/rewinger/packages overwrite: true
git pull git@gitea.sinav-lab.com:2222:sinav/winget-pkgs.git