Update build.yaml

This commit is contained in:
hikari 2024-07-03 20:10:39 +03:30 committed by GitHub
parent 7854ac18f9
commit 9a3ef5b804
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,7 +35,7 @@ jobs:
- name: generate ssh-key
run: ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts
- name: remove last iso
run: sshpass -p "${{ secrets.SSH_PASS }}" ssh "root@$HOST" "rm -rf /srv/http/test/Parchlinux-test-latest.iso"
run: sshpass -p "${{ secrets.SSH_PASS }}" ssh root@$HOST "rm -rf /srv/http/test/Parchlinux-test-latest.iso"
- name: rename iso
run: mv "$(ls out/*.iso)" out/Parchlinux-test-latest.iso
- name: upload iso to host