ci: test again >>
This commit is contained in:
parent
3ca404bae8
commit
414ffebcff
@ -45,7 +45,7 @@ jobs:
|
|||||||
- run: npm run build
|
- run: npm run build
|
||||||
|
|
||||||
release:
|
release:
|
||||||
if: gitea.ref_type == 'tag'
|
#if: gitea.ref_type == 'tag'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: nextcloud:28
|
container: nextcloud:28
|
||||||
steps:
|
steps:
|
||||||
@ -71,14 +71,15 @@ jobs:
|
|||||||
echo "SIGNATURE=$(openssl dgst -sha512 -sign /tmp/repod.key build/artifacts/repod.tar.gz | openssl base64)" >> $GITHUB_OUTPUT
|
echo "SIGNATURE=$(openssl dgst -sha512 -sign /tmp/repod.key build/artifacts/repod.tar.gz | openssl base64)" >> $GITHUB_OUTPUT
|
||||||
env:
|
env:
|
||||||
KEYFILE: ${{ secrets.KEYFILE }}
|
KEYFILE: ${{ secrets.KEYFILE }}
|
||||||
- uses: akkuman/gitea-release-action@v1
|
#- uses: akkuman/gitea-release-action@v1
|
||||||
with:
|
# with:
|
||||||
files: |
|
# files: |
|
||||||
build/artifacts/repod.tar.gz
|
# build/artifacts/repod.tar.gz
|
||||||
- uses: actionsflow/axios@v1
|
- uses: actionsflow/axios@v1
|
||||||
with:
|
with:
|
||||||
url: https://apps.nextcloud.com/api/v1/apps/releases
|
url: https://apps.nextcloud.com/api/v1/apps/releases
|
||||||
method: POST
|
method: POST
|
||||||
accept: 200,201
|
# accept: 200,201
|
||||||
headers: '{ "Authorization": "Token <<<${{ secrets.TOKEN }}>>>" }'
|
headers: '{ "Authorization": "Token <<<${{ secrets.TOKEN }}>>>" }'
|
||||||
data: '{ "download": "https://git.crystalyx.net/Xefir/repod/releases/download/latest/repod.tar.gz", "signature": "<<<${{ steps.dist.outputs.SIGNATURE }}>>>" }'
|
data: '{ "download": "https://git.crystalyx.net/Xefir/repod/releases/download/latest/repod.tar.gz", "signature": "<<<${{ steps.dist.outputs.SIGNATURE }}>>>" }'
|
||||||
|
- run: echo ${{ steps.api.outputs.data }}
|
Loading…
Reference in New Issue
Block a user