From 0b3ae21f4716b1b6c40b5769d9d65e31006b8cba Mon Sep 17 00:00:00 2001 From: Sebastiaan de Schaetzen Date: Wed, 23 Apr 2025 10:56:16 +0200 Subject: [PATCH] Initial commit This repository was based on https://gitea.seeseepuff.be/archlinux/helloworld --- .gitea/workflows/build.yml | 26 ++++++++++++++++++++++++++ .gitea/workflows/wake.yml | 13 +++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 .gitea/workflows/build.yml create mode 100644 .gitea/workflows/wake.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..bee0a13 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -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 diff --git a/.gitea/workflows/wake.yml b/.gitea/workflows/wake.yml new file mode 100644 index 0000000..b054939 --- /dev/null +++ b/.gitea/workflows/wake.yml @@ -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 \ No newline at end of file