Add gitea workflow
Some checks failed
Wake Runner / build (push) Successful in 10s
Build and Push / build (push) Failing after 7s

This commit is contained in:
Sebastiaan de Schaetzen 2025-04-23 11:00:13 +02:00
parent 179b744dec
commit 3e212d8afb
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,26 @@
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: Build package
run: |
makepkg -s -
- 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