Compare commits
2 Commits
v5.0.0-alp
...
v5.0.0-alp
| Author | SHA1 | Date | |
|---|---|---|---|
|
b8577b4bac
|
|||
|
b705e34086
|
@@ -21,9 +21,9 @@ jobs:
|
|||||||
run: cargo deb
|
run: cargo deb
|
||||||
- name: Upload Debian package to Gitea registry
|
- name: Upload Debian package to Gitea registry
|
||||||
env:
|
env:
|
||||||
GITEA_SERVER_URL: "https://gitea.champs-libres.be"
|
GITEA_OWNER: ${{ github.repository_owner }}
|
||||||
GITEA_OWNER: ${{ secrets.GITEA_OWNER }}
|
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
GITEA_SERVER_URL: ${{ github.server_url }}
|
||||||
DEB_DISTRIBUTIONS: noble,plucky,questing
|
DEB_DISTRIBUTIONS: noble,plucky,questing
|
||||||
DEB_COMPONENT: main
|
DEB_COMPONENT: main
|
||||||
DEB_ARCH: amd64
|
DEB_ARCH: amd64
|
||||||
@@ -41,7 +41,7 @@ jobs:
|
|||||||
echo "Uploading ${DEB_FILE} to ${GITEA_SERVER_URL} for owner ${GITEA_OWNER}"
|
echo "Uploading ${DEB_FILE} to ${GITEA_SERVER_URL} for owner ${GITEA_OWNER}"
|
||||||
curl -sSf -X PUT \
|
curl -sSf -X PUT \
|
||||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||||
--upload-file @"${DEB_FILE}" \
|
--upload-file "${DEB_FILE}" \
|
||||||
"${GITEA_SERVER_URL}/api/packages/${GITEA_OWNER}/debian/pool/${DISTRO}/main/upload"
|
"${GITEA_SERVER_URL}/api/packages/${GITEA_OWNER}/debian/pool/${DISTRO}/main/upload"
|
||||||
done
|
done
|
||||||
- name: Read release content
|
- name: Read release content
|
||||||
|
|||||||
Reference in New Issue
Block a user