PostgreSQL backup tool with Point-In-Time-Recovery and restore verification
TypeScript backupbackupsdatabasedatabase-backupdevopsdockergolangkubernetesmariadbmongodbmysqlpgpostgrespostgresqls3self-hostedsystem-administrationtoolsweb-ui
FIX (deploy): Fix migrations run on deploy
Rostislav Dugind56518b84715
diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.ymlindex c245684a..e5d2df6e 100644--- a/.github/workflows/ci-release.yml+++ b/.github/workflows/ci-release.yml@@ -3,6 +3,8 @@ name: CI and Releaseon:push:branches: [main]+ pull_request:+ branches: [main]workflow_dispatch:jobs:@@ -159,7 +161,7 @@ jobs:run: |cd backendgo install github.com/pressly/goose/v3/cmd/goose@latest- goose -dir migrations postgres "postgres://postgres:Q1234567@localhost:5437/postgresus?sslmode=disable" up+ goose up- name: Run Go testsrun: |@@ -175,7 +177,7 @@ jobs:determine-version:runs-on: ubuntu-latestneeds: [test-backend, lint-frontend]- if: ${{ !contains(github.event.head_commit.message, '[skip-release]') }}+ if: ${{ github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, '[skip-release]') }}outputs:should_release: ${{ steps.version_bump.outputs.should_release }}new_version: ${{ steps.version_bump.outputs.new_version }}@@ -268,7 +270,7 @@ jobs:build-only:runs-on: ubuntu-latestneeds: [test-backend, lint-frontend]- if: ${{ contains(github.event.head_commit.message, '[skip-release]') }}+ if: ${{ github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, '[skip-release]') }}steps:- name: Check out codeuses: actions/checkout@v4