Sebastiaan de Schaetzen 25f926d3f9
Some checks failed
Build and Push / build (push) Failing after 7s
Wake Runner / build (push) Successful in 4s
Put curl command on a single line
2025-04-23 10:53:13 +02:00

25 lines
605 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