Update build.yaml
This commit is contained in:
parent
8e45f5e421
commit
44b1ea57be
1 changed files with 1 additions and 12 deletions
13
.github/workflows/build.yaml
vendored
13
.github/workflows/build.yaml
vendored
|
@ -37,18 +37,7 @@ jobs:
|
|||
- name: rename iso
|
||||
run: mv "$(ls out/*.iso)" out/Parchlinux-test-latest.iso
|
||||
- name: upload iso to host
|
||||
# run: sshpass -p "${{ secrets.SSH_PASS }}" rsync -rav -e ssh "out/$(ls out/*.iso)" root@$HOST:/srv/http/test/"
|
||||
uses: burnett01/rsync-deployments@7.0.1
|
||||
with:
|
||||
switches: -avzr --delete
|
||||
legacy_allow_rsa_hostkeys: "true"
|
||||
path: out/Parchlinux-test-latest.iso
|
||||
remote_path: /srv/http/test
|
||||
remote_host: $HOST
|
||||
remote_port: 22
|
||||
remote_user: root
|
||||
remote_key: ${{ secrets.SSH_PASS }}
|
||||
|
||||
run: sshpass -p "${{ secrets.SSH_PASS }}" rsync -rav -e ssh "out/$(ls out/*.iso)" root@$HOST:/srv/http/test/
|
||||
- name: Upload iso to the release
|
||||
run: |
|
||||
cd ./out
|
||||
|
|
Loading…
Add table
Reference in a new issue