Skip to content

Commit

Permalink
New indexer (#143)
Browse files Browse the repository at this point in the history
* Test new indexer

* Update new indexer url
  • Loading branch information
drunkbatya authored May 19, 2023
1 parent 43e93d8 commit 0199220
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 30 deletions.
23 changes: 8 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,18 +134,11 @@ jobs:
mv qFlipper-64bit.zip ./artifacts/qFlipper-64bit-${SUFFIX}.zip
mv qflipper.dmg ./artifacts/qFlipper-${SUFFIX}.dmg
- name: Upload apps
uses: burnett01/[email protected]
with:
switches: -cvzr --delete --mkpath
path: artifacts/
remote_path: "${{ secrets.RSYNC_DEPLOY_BASE_PATH }}qFlipper/${REF}/"
remote_host: ${{ secrets.RSYNC_DEPLOY_HOST }}
remote_port: ${{ secrets.RSYNC_DEPLOY_PORT }}
remote_user: ${{ secrets.RSYNC_DEPLOY_USER }}
remote_key: ${{ secrets.RSYNC_DEPLOY_KEY }}

- name: 'Trigger update server reindex'
uses: wei/curl@master
with:
args: -X POST -F 'key=${{ secrets.REINDEX_KEY }}' ${{ secrets.REINDEX_URL }}
- name: Upload artifacts to update server
if: ${{ !github.event.pull_request.head.repo.fork }}
run: |
FILES=$(for CUR in $(ls artifacts/); do echo "-F files=@artifacts/$CUR"; done)
curl --fail -L -H "Token: ${{ secrets.INDEXER_TOKEN }}" \
-F "branch=${REF}" \
${FILES[@]} \
"${{ secrets.INDEXER_URL }}"/qFlipper/uploadfiles
15 changes: 0 additions & 15 deletions .github/workflows/reindex.yml

This file was deleted.

0 comments on commit 0199220

Please sign in to comment.