build: wip
Some checks failed
Publish / deploy_via_ssh (push) Failing after 4s

This commit is contained in:
2023-07-08 21:08:37 +03:00
parent 00b8a9fcaf
commit 9b73b65d85

View File

@@ -9,17 +9,19 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- run: ls -las ${{ gitea.workspace }}
- run: ls -las ${{ gitea.workspace }}/manifests/
- name: Run a multi-line script
run: |
mkdir ../build
cp -TR . ../build
tar -cvf deploy.tar ../build/manifests/
- name: Copy files
uses: https://github.com/mdallasanta/ssh-scp-deploy@v1.2.0
uses: https://github.com/appleboy/scp-action@master
with:
host: ${{ secrets.HOST }}
user: ${{ secrets.USERNAME }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_KEY }}
port: 22
local: ${{ gitea.workspace }}/manifests/
remote: /srv/teu/rewinger/packages/
scp_options: -r
source: deploy.tar
target: /srv/teu/rewinger/packages/
overwrite: true