Skip to content

ClickHouse Migration Production #1

ClickHouse Migration Production

ClickHouse Migration Production #1

name: ClickHouse Migration Production
on:
workflow_call:
secrets:
CLICKHOUSE_URL:
required: true
workflow_dispatch:
jobs:
deploy:
environment: ClickHouse Production Migration
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install
uses: ./.github/actions/install
with:
go: true
- name: Install goose
run: go install github.com/pressly/goose/v3/cmd/goose@latest
- name: Migrate
run: goose clickhouse "${{ secrets.CLICKHOUSE_URL }}" up
working-directory: internal/clickhouse/schema