From 13dbacdd3e0aa665183a5db368a387a4de62b018 Mon Sep 17 00:00:00 2001 From: Adam Hendel Date: Thu, 6 Jun 2024 17:12:28 -0500 Subject: [PATCH 1/2] add workflow for docs --- .github/workflows/docs.yml | 22 ++++++++++++++++++++++ README.md | 5 +++-- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 00000000..59d9e79f --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,22 @@ +name: Docs CI Workflow +on: + push: + branches: + - main + paths: + - "docs/**" + - ".github/workflows/docs.yml" +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v2 + with: + python-version: 3.11 + - run: curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.8.3 python3 - + - run: poetry install + - name: deploy docs + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: poetry run mkdocs gh-deploy --force diff --git a/README.md b/README.md index 255f4173..62611d1e 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ Postgres 12-16. - [Support](#support) - [Table of Contents](#table-of-contents) - [Installation](#installation) + - [Updating](#updating) - [Client Libraries](#client-libraries) - [SQL Examples](#sql-examples) - [Creating a queue](#creating-a-queue) @@ -47,10 +48,10 @@ Postgres 12-16. ## Installation -The fastest way to get started is by running the Tembo docker image, where PGMQ comes pre-installed. +The fastest way to get started is by running the Tembo Docker image, where PGMQ comes pre-installed in Postgres. ```bash -docker run -d --name postgres -e POSTGRES_PASSWORD=postgres -p 5432:5432 quay.io/tembo/pgmq-pg:latest +docker run -d --name postgres -e POSTGRES_PASSWORD=postgres -p 5432:5432 quay.io/tembo/pg16-pgmq:latest ``` If you'd like to build from source, you can follow the instructions in [CONTRIBUTING.md](CONTRIBUTING.md). From 269edef93f09bc561ba775ea7baebce7da57d894 Mon Sep 17 00:00:00 2001 From: Adam Hendel Date: Thu, 6 Jun 2024 17:14:15 -0500 Subject: [PATCH 2/2] fix url --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 62611d1e..57a6e2fd 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ A lightweight message queue. Like [AWS SQS](https://aws.amazon.com/sqs/) and [RS [![OSSRank](https://shields.io/endpoint?url=https://ossrank.com/shield/3809)](https://ossrank.com/p/3809) [![PGXN version](https://badge.fury.io/pg/pgmq.svg)](https://pgxn.org/dist/pgmq/) -**Documentation**: https://tembo-io.github.io/pgmq/ +**Documentation**: https://tembo.io/pgmq/ **Source**: https://github.com/tembo-io/pgmq