Update build.yaml

This commit is contained in:
hikari 2024-07-03 20:00:24 +03:30 committed by GitHub
parent ade0e77e04
commit 6cb08880d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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