ci: retry automation
This commit is contained in:
parent
25c6c515e0
commit
5ef0a9612a
@ -68,3 +68,19 @@ jobs:
|
||||
with:
|
||||
files: |
|
||||
build/artifacts/repod.tar.gz
|
||||
- uses: FKLC/sign-files-action@v1.0.0
|
||||
with:
|
||||
privateKey: ${{ secrets.PRIVATEKEY }}
|
||||
algorithm: 'RSA-SHA512'
|
||||
extension: '.sig'
|
||||
files: |
|
||||
build/artifacts/repod.tar.gz
|
||||
- id: sign
|
||||
run: echo "SIGNATURE=$(cat build/artifacts/repod.sig)" >> $GITHUB_OUTPUT
|
||||
- uses: actionsflow/axios@v1
|
||||
with:
|
||||
url: https://apps.nextcloud.com/api/v1/apps/releases
|
||||
method: POST
|
||||
accept: 200,201
|
||||
headers: '{ "Authorization": "Token <<<${{ secrets.TOKEN }}>>>" }'
|
||||
data: '{ "download": "https://git.crystalyx.net/Xefir/repod/releases/download/<<<${{ gitea.ref_name }}>>>/repod.tar.gz", "signature": "<<<${{ steps.sign.outputs.SIGNATURE }}>>>" }'
|
||||
|
Loading…
Reference in New Issue
Block a user