Compare commits

..

6 commits

Author SHA1 Message Date
241d00e2d2 Trying to fix the workflow
All checks were successful
Build and Deploy ISO / build_iso (release) Successful in 23m54s
2025-02-16 23:38:38 +03:30
b5aac1d777 Trying to fix the workflow
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 21m37s
2025-02-16 23:00:35 +03:30
a7ba10f01f Update .forgejo/workflows/build.yaml
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 16m55s
2025-02-16 09:58:10 -05:00
74e4abfbea trying to fix
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 23m29s
added " "
2025-02-13 13:09:13 -05:00
107e43139c fixed env
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 35m45s
2025-02-13 19:43:17 +03:30
fd5fba6be5 ReTry
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 27m22s
2025-02-13 19:10:01 +03:30

View file

@ -17,9 +17,9 @@ jobs:
run: pacman -Sy --noconfirm nodejs npm git sudo
- name: Checkout code
uses: actions/checkout@v4
- name: update
- name: Update system
run: pacman -Syyuu --noconfirm
- name: whoami
- name: Check user
run: whoami
- name: Build ISO
run: |
@ -40,9 +40,11 @@ jobs:
else
echo "REMOTE_DIR=/srv/http/${{ env.Desktop }}/" >> $GITHUB_ENV
fi
- name: Deploy files
env:
SSHPASS: ${{ secrets.SSHPASS }}
PASS: ${{ secrets.PASS }}
HOST: ${{ secrets.HOST }}
run: |
sshpass -e ssh -o StrictHostKeyChecking=no parch@${{ env.SSHHOST }} "rm -rf ${{ env.REMOTE_DIR }} && mkdir -p ${{ env.REMOTE_DIR }}"
sshpass -e rsync -avz out/ParchLinux-${{ env.Desktop }}-latest.iso out/md5sum.txt parch@${{ env.SSHHOST }}:${{ env.REMOTE_DIR }}
sshpass -p "$PASS" ssh -o StrictHostKeyChecking=no parch@$HOST "rm -rf $REMOTE_DIR && mkdir -p $REMOTE_DIR"
sshpass -p "$PASS" rsync -avz out/ParchLinux-${{ env.Desktop }}-latest.iso out/md5sum.txt parch@$HOST:$REMOTE_DIR