This commit is contained in:
parent
e20e0c3a89
commit
a480a113f9
1 changed files with 0 additions and 26 deletions
|
@ -30,31 +30,6 @@ jobs:
|
||||||
md5sum out/ParchLinux-${{ env.Desktop }}-latest.iso > out/md5sum.txt
|
md5sum out/ParchLinux-${{ env.Desktop }}-latest.iso > out/md5sum.txt
|
||||||
echo "Build completed. Files generated:"
|
echo "Build completed. Files generated:"
|
||||||
ls -lh out/
|
ls -lh out/
|
||||||
|
|
||||||
- name: Upload artifacts
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: iso-artifacts
|
|
||||||
path: |
|
|
||||||
out/ParchLinux-${{ env.Desktop }}-latest.iso
|
|
||||||
out/md5sum.txt
|
|
||||||
|
|
||||||
deploy_iso:
|
|
||||||
runs-on: docker
|
|
||||||
needs: [build_iso]
|
|
||||||
container:
|
|
||||||
image: archlinux/archlinux:base-devel
|
|
||||||
options: --privileged
|
|
||||||
env:
|
|
||||||
Desktop: "template"
|
|
||||||
SSH_HOST: ${{ secrets.SSHHOST }}
|
|
||||||
steps:
|
|
||||||
- name: Download artifacts
|
|
||||||
uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
name: iso-artifacts
|
|
||||||
path: out/
|
|
||||||
|
|
||||||
- name: Setup dependencies
|
- name: Setup dependencies
|
||||||
run: pacman -Syu --noconfirm sshpass rsync
|
run: pacman -Syu --noconfirm sshpass rsync
|
||||||
|
|
||||||
|
@ -65,7 +40,6 @@ jobs:
|
||||||
else
|
else
|
||||||
echo "REMOTE_DIR=/srv/http/${{ env.Desktop }}/" >> $GITHUB_ENV
|
echo "REMOTE_DIR=/srv/http/${{ env.Desktop }}/" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Deploy files
|
- name: Deploy files
|
||||||
env:
|
env:
|
||||||
SSHPASS: ${{ secrets.SSHPASS }}
|
SSHPASS: ${{ secrets.SSHPASS }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue