ci: add cd

This commit is contained in:
2026-02-15 00:49:00 +01:00
parent 1f566cf8bf
commit 39e1037020
2 changed files with 4 additions and 4 deletions

View File

@@ -2,8 +2,8 @@ name: Continuous Integration
on:
push:
branches:
- main
tags:
- "v[0_9]+.[0_9]+.[0_9]+"
jobs:
build:
@@ -21,4 +21,4 @@ jobs:
run: make upload
env:
PACKAGES_USERNAME: ${{ vars.PACKAGES_USERNAME }}
PACKAGES_TOKEN: ${{ github.token }}
PACKAGES_TOKEN: ${{ secrets.PACKAGES_TOKEN }}

View File

@@ -48,4 +48,4 @@ tarball: $(RPM_TARBALL_PATH)
.PHONY: upload
upload:
curl --fail-with-body --upload-file "$(RPM_BUILD_PATH)" --user "$(PACKAGES_TOKEN)" https://git.netoik.io/api/packages/samuel/rpm/upload
curl --fail-with-body --upload-file "$(RPM_BUILD_PATH)" --user "$(PACKAGES_USERNAME):$(PACKAGES_TOKEN)" https://git.netoik.io/api/packages/samuel/rpm/upload