Fix new indexer url (#39)

* Disable ci/cd on release* branches
* Update indexer url, add release reindex
This commit is contained in:
Max Andreev 2023-05-19 15:36:31 +03:00 committed by GitHub
parent a86460ac75
commit 09111b4241
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 1 deletions

View File

@ -105,4 +105,4 @@ jobs:
curl --fail -L -H "Token: ${{ secrets.INDEXER_TOKEN }}" \
-F "branch=${BRANCH_NAME}" \
${FILES[@]} \
"${{ secrets.INDEXER_UPLOAD_URL }}"
"${{ secrets.INDEXER_URL }}"/blackmagic-firmware/uploadfiles

15
.github/workflows/reindex.yml vendored Normal file
View File

@ -0,0 +1,15 @@
name: 'Reindex'
on:
release:
types: [prereleased,released]
jobs:
reindex:
name: 'Reindex updates'
runs-on: [self-hosted,FlipperZeroShell]
steps:
- name: Trigger reindex
run: |
curl --fail -L -H "Token: ${{ secrets.INDEXER_TOKEN }}" \
"${{ secrets.INDEXER_URL }}"/blackmagic-firmware/reindex