This commit is contained in:
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user