add release job
Some checks failed
/ release-build (push) Successful in 13m0s
/ release-deploy (push) Successful in 33s
/ release-create (push) Failing after 31s

This commit is contained in:
Antoine Martin 2024-08-22 09:52:49 -04:00
parent 00ab9d069e
commit dd1c74999d
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -53,3 +53,23 @@ jobs:
uses: forgejo/download-artifact@v3
- name: Package deployment
run: ${{ github.workspace }}/.forgejo/bin/deploy.sh
release-create:
needs: [release-build]
runs-on: x86_64
container:
image: alpine:latest
steps:
- name: Setting up environment
run: apk add nodejs curl findutils git gawk
- name: Package download
uses: forgejo/download-artifact@v3
- name: Release creation
uses: actions/forgejo-release@v2.3.1
with:
direction: upload
url: https://api.ayakael.net
repo: ayakael/qubes-builder-alpine
token: "${{ secrets.FORGE_REPO_TOKEN }}"
release-dir: ./package
release-notes: "For download of template through DNF, please go to https://ayakael.net/forge/-/packages/rpm/qubes-template-alpine320"