Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ jobs:
name: Build and Deploy Docs
needs: changes
if: |
github.event_name == 'push' ||
github.event_name == 'workflow_dispatch' ||
needs.changes.outputs.should_run == 'true'
!cancelled() && (
github.event_name == 'push' ||
github.event_name == 'workflow_dispatch' ||
needs.changes.outputs.should_run == 'true'
)
runs-on: ubuntu-latest

steps:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/gateway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ jobs:
name: Vet · Test · Build
needs: changes
if: |
github.event_name == 'push' ||
needs.changes.outputs.should_run == 'true'
!cancelled() && (
github.event_name == 'push' ||
needs.changes.outputs.should_run == 'true'
)
runs-on: ubuntu-latest
defaults:
run:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@ jobs:
name: Install · Build · Test
needs: changes
if: |
github.event_name == 'push' ||
needs.changes.outputs.should_run == 'true'
!cancelled() && (
github.event_name == 'push' ||
needs.changes.outputs.should_run == 'true'
)
runs-on: ubuntu-latest

steps:
Expand Down
16 changes: 14 additions & 2 deletions docs/src/content/docs/guides/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -129,16 +129,28 @@ COPY --from=ghcr.io/ruachtech/rep/gateway:latest /usr/local/bin/rep-gateway /usr

Download from [GitHub Releases](https://github.com/ruachtech/rep/releases) for your platform:

Archives are published on the version tag — `v0.1.7`, not `gateway/v0.1.7`:

```bash
# Linux amd64
curl -fsSL https://github.com/RuachTech/rep/releases/download/gateway/v0.1.2/rep-gateway_0.1.2_linux_amd64.tar.gz | tar -xz
curl -fsSL https://github.com/RuachTech/rep/releases/download/v0.1.7/rep-gateway_0.1.7_linux_amd64.tar.gz | tar -xz
mv rep-gateway /usr/local/bin/

# macOS arm64
curl -fsSL https://github.com/RuachTech/rep/releases/download/gateway/v0.1.2/rep-gateway_0.1.2_darwin_arm64.tar.gz | tar -xz
curl -fsSL https://github.com/RuachTech/rep/releases/download/v0.1.7/rep-gateway_0.1.7_darwin_arm64.tar.gz | tar -xz
mv rep-gateway /usr/local/bin/
```

To always fetch the newest release instead of a pinned version:

```bash
VERSION=$(curl -fsSL https://github.com/ghapi/repos/RuachTech/rep/releases/latest | grep -m1 '"tag_name"' | cut -d'"' -f4)
curl -fsSL "https://github.com/RuachTech/rep/releases/download/${VERSION}/rep-gateway_${VERSION#v}_linux_amd64.tar.gz" | tar -xz
mv rep-gateway /usr/local/bin/
```

Each release also ships a `checksums.txt` for verification.

### Build from source

Requires Go >= 1.24.5:
Expand Down
Loading