Compare commits
No commits in common. "main" and "2025.02.24" have entirely different histories.
main
...
2025.02.24
4 changed files with 7 additions and 54 deletions
|
@ -1,50 +0,0 @@
|
|||
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
|
2
build.sh
2
build.sh
|
@ -45,7 +45,7 @@ main() {
|
|||
install() {
|
||||
set -e
|
||||
pacman -Sy; pacman --noconfirm -S --needed git wget github-cli p7zip reflector rsync
|
||||
wget https://git.parchlinux.com/repos/ppr/raw/branch/main/x86_64/archiso-99-1-any.pkg.tar.zst
|
||||
wget https://git.parchlinux.com/repo/ppr/-/raw/main/x86_64/archiso-99-1-any.pkg.tar.zst
|
||||
sudo pacman -U archiso-99-1-any.pkg.tar.zst --noconfirm
|
||||
}
|
||||
|
||||
|
|
|
@ -103,6 +103,7 @@ python-psutil
|
|||
python-systemd
|
||||
refind
|
||||
#reflector
|
||||
reiserfsprogs
|
||||
rp-pppoe
|
||||
rsync
|
||||
rxvt-unicode-terminfo
|
||||
|
@ -178,6 +179,7 @@ parch-grub
|
|||
galculator
|
||||
catfish
|
||||
yt-dlp
|
||||
kernel-install-mkinitcpio
|
||||
|
||||
#parchlinuxstuff
|
||||
calamares
|
||||
|
@ -186,7 +188,6 @@ os-prober
|
|||
paru
|
||||
parch-emoji-ios
|
||||
parch-branding
|
||||
parchlinux-keyring
|
||||
parch-pacman
|
||||
parch-grub
|
||||
parch-wallpapers
|
||||
|
@ -194,6 +195,7 @@ bash-completion
|
|||
neofetch-git
|
||||
fastfetch
|
||||
parch-welcome
|
||||
parch-sddm-theme
|
||||
parch-plymouth
|
||||
plymouth
|
||||
boost
|
||||
|
|
|
@ -73,7 +73,7 @@ LocalFileSigLevel = Optional
|
|||
#Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[ppr]
|
||||
SigLevel = Never
|
||||
SigLevel = Optional TrustedOnly
|
||||
Server = https://git.parchlinux.com/repos/ppr/raw/branch/main/x86_64/
|
||||
|
||||
[core]
|
||||
|
@ -95,9 +95,10 @@ Include = /etc/pacman.d/mirrorlist
|
|||
#Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[pcp]
|
||||
SigLevel = Never
|
||||
SigLevel = Optional TrustedOnly
|
||||
Server = https://git.parchlinux.com/repos/pcp/raw/branch/main/x86_64/
|
||||
|
||||
|
||||
# An example of a custom package repository. See the pacman manpage for
|
||||
# tips on creating your own repositories.
|
||||
#[custom]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue