Update build.yaml

This commit is contained in:
hikari 2024-07-03 20:36:24 +03:30 committed by GitHub
parent 474dd0d874
commit 93eaf36347
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,7 +37,18 @@ jobs:
- name: rename iso - name: rename iso
run: mv "$(ls out/*.iso)" out/Parchlinux-test-latest.iso run: mv "$(ls out/*.iso)" out/Parchlinux-test-latest.iso
- name: upload iso to host - name: upload iso to host
run: sshpass -p "${{ secrets.SSH_PASS }}" rsync -rav -e ssh "out/$(ls out/*.iso)" root@$HOST:/srv/http/test/ # 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 }}
- name: Upload iso to the release - name: Upload iso to the release
run: | run: |
cd ./out cd ./out