From 6b9b5fda7ef5d787017223ba7af3ebca9aa14149 Mon Sep 17 00:00:00 2001 From: Thomas Payet Date: Thu, 5 Dec 2019 14:02:36 +0100 Subject: [PATCH] Add publish action to gemfury for apt pkg --- .github/workflows/publish-deb-pkg.yml | 4 +++- README.md | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-deb-pkg.yml b/.github/workflows/publish-deb-pkg.yml index eb7354cbe..8a10dd95f 100644 --- a/.github/workflows/publish-deb-pkg.yml +++ b/.github/workflows/publish-deb-pkg.yml @@ -1,4 +1,4 @@ -name: Publish debian package to GitHub release +name: Publish deb pkg to GitHub release & apt repository on: push: @@ -26,3 +26,5 @@ jobs: file: target/debian/meilisearch.deb asset_name: meilisearch.deb 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/ diff --git a/README.md b/README.md index 66d2bf15d..34a65f17d 100644 --- a/README.md +++ b/README.md @@ -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 ``` +#### 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 ```bash