Compare commits

...

4 commits

Author SHA1 Message Date
3996bd906e added parch-grub
Some checks failed
Build and Deploy ISO / build_iso (release) Failing after 2m9s
2025-02-24 22:46:36 +03:30
327089daaa added parch-grub 2025-02-24 22:36:54 +03:30
b5f2a1e9c3 added parch-grub 2025-02-24 22:35:05 +03:30
f966911cee Fixed Issue for kernel 2025-02-10 18:39:12 +03:30
3 changed files with 55 additions and 3 deletions

View file

@ -0,0 +1,50 @@
name: Build and Deploy ISO
on:
release:
types: [published]
jobs:
build_iso:
runs-on: ubuntu-latest
container:
image: archlinux/archlinux:base-devel
privileged: true
env:
Desktop: "XFCE"
steps:
- name: Install Node.js
run: pacman -Syyu --noconfirm nodejs npm git sudo
- name: Checkout code
uses: actions/checkout@v4
- name: Update system
run: pacman -Syyuu --noconfirm
- name: Check user
run: whoami
- name: Build ISO
run: |
sudo ./build.sh
echo "Renaming the output ISO file"
mv out/*.iso out/ParchLinux-${{ env.Desktop }}-latest.iso
echo "Generating MD5 checksum"
md5sum out/ParchLinux-${{ env.Desktop }}-latest.iso > out/md5sum.txt
echo "Build completed. Files generated:"
ls -lh out/
- name: Setup dependencies
run: pacman -Syu --noconfirm sshpass rsync
- name: Determine remote directory
run: |
if [[ "${{ github.event.release.tag_name }}" == *"beta"* ]]; then
echo "REMOTE_DIR=/srv/http/beta/${{ env.Desktop }}/" >> $GITHUB_ENV
else
echo "REMOTE_DIR=/srv/http/${{ env.Desktop }}/" >> $GITHUB_ENV
fi
- name: Deploy files
env:
PASS: ${{ secrets.PASS }}
HOST: ${{ secrets.HOST }}
run: |
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

View file

@ -179,6 +179,7 @@ parch-grub
galculator
catfish
yt-dlp
kernel-install-mkinitcpio
#parchlinuxstuff
calamares
@ -187,7 +188,8 @@ os-prober
paru
parch-emoji-ios
parch-branding
parch-pacman-systemd
parch-pacman
parch-grub
parch-wallpapers
bash-completion
neofetch-git

View file

@ -74,7 +74,7 @@ LocalFileSigLevel = Optional
[ppr]
SigLevel = Optional TrustedOnly
Server = https://git.parchlinux.com/repo/ppr/-/raw/main/x86_64/
Server = https://git.parchlinux.com/repos/ppr/raw/branch/main/x86_64/
[core]
Include = /etc/pacman.d/mirrorlist
@ -96,7 +96,7 @@ Include = /etc/pacman.d/mirrorlist
[pcp]
SigLevel = Optional TrustedOnly
Server = https://git.parchlinux.com/repo/pcp/-/raw/main/x86_64/
Server = https://git.parchlinux.com/repos/pcp/raw/branch/main/x86_64/
# An example of a custom package repository. See the pacman manpage for