Add publish action to gemfury for apt pkg

This commit is contained in:
Thomas Payet 2019-12-05 14:02:36 +01:00
parent b756fc382a
commit 6b9b5fda7e
2 changed files with 11 additions and 1 deletions

View File

@ -1,4 +1,4 @@
name: Publish debian package to GitHub release name: Publish deb pkg to GitHub release & apt repository
on: on:
push: push:
@ -26,3 +26,5 @@ jobs:
file: target/debian/meilisearch.deb file: target/debian/meilisearch.deb
asset_name: meilisearch.deb asset_name: meilisearch.deb
tag: ${{ github.ref }} tag: ${{ github.ref }}
- name: Upload debian pkg to apt repository
run: curl -F package=@target/debian/meilisearch.deb https://${{ secrets.GEMFURY_PUSH_TOKEN }}@push.fury.io/meilisearch/

View File

@ -33,6 +33,14 @@ For more [details about those features, go to our documentation](https://docs.me
docker run -it -p 7700:7700 --rm getmeili/MeiliSearch docker run -it -p 7700:7700 --rm getmeili/MeiliSearch
``` ```
#### Installation using APT
```bash
echo "deb [trusted=yes] https://apt.fury.io/meilisearch/ /" > /etc/apt/sources.list.d/fury.list
apt update && apt install meilisearch-http
meilisearch
```
#### Download the binary #### Download the binary
```bash ```bash