Add gitea workflow
All checks were successful
Wake Runner / build (push) Successful in 4s
Build and Push / build (push) Successful in 1m43s

This commit is contained in:
Sebastiaan de Schaetzen 2025-04-23 11:07:23 +02:00
parent 20d71a9f25
commit b539e91c30
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,30 @@
name: Build and Push
on:
push:
branches:
- master
jobs:
build:
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

13
.gitea/workflows/wake.yml Normal file
View File

@ -0,0 +1,13 @@
name: Wake Runner
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Wakeup Runner
run: |
curl https://idlesleep.wolproxy.seeseepuff.be/status