Initial commit

This commit is contained in:
Archlinux 2025-05-05 06:45:30 +02:00
commit c2987e4388
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,39 @@
name: Workflows
on:
push:
branches:
- master
jobs:
wake:
name: Wake Runner
runs-on: ubuntu-latest
steps:
- name: Wakeup Runner
run: |
curl https://idlesleep.wolproxy.seeseepuff.be/status
build:
name: Build and Push
runs-on: ubuntu-amd64
container:
image: gitea.seeseepuff.be/archlinux/archlinux:latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Ensure image is up-to-date
run: |
sudo pacman -Syu --noconfirm
- name: Build package
run: |
makepkg -s --noconfirm -
- name: Push to repository
run: |
makepkg --packagelist | while read -r file; do
curl --user ${{ secrets.USERNAME }}:${{ secrets.PASSWORD }} \
--upload-file $file \
https://gitea.seeseepuff.be/api/packages/archlinux/arch/personal
done

4
prerun.sh Executable file
View File

@ -0,0 +1,4 @@
git remote add aur https://aur.archlinux.org/REPO_NAME.git
git fetch aur
git merge -X theirs --no-edit aur/master