Update build.yaml
This commit is contained in:
parent
9a3ef5b804
commit
df3e6ca5ac
1 changed files with 3 additions and 1 deletions
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
|
@ -35,7 +35,9 @@ 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/
|
||||
- name: remove last iso
|
||||
run: sshpass -p "${{ secrets.SSH_PASS }}" ssh root@$HOST mkdir /srv/http/test/
|
||||
- name: rename iso
|
||||
run: mv "$(ls out/*.iso)" out/Parchlinux-test-latest.iso
|
||||
- name: upload iso to host
|
||||
|
|
Loading…
Add table
Reference in a new issue