Sebastiaan de Schaetzen a12f8fd551
All checks were successful
Wake Runner / build (push) Successful in 9s
Build and Push / build (push) Successful in 8s
Undo previous commit and use correct variable
2025-04-23 10:54:01 +02:00

27 lines
637 B
YAML

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