Merge pull request #2030 from booklore-app/develop
Merge dev into master
This commit is contained in:
@@ -6,12 +6,27 @@ on:
|
|||||||
- 'master'
|
- 'master'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
get-base-ref:
|
||||||
|
name: Get Base Ref
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
base_ref: ${{ steps.get_base.outputs.base_ref }}
|
||||||
|
steps:
|
||||||
|
- name: Checkout Repository
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
fetch-depth: 2
|
||||||
|
- name: Get Base Ref
|
||||||
|
id: get_base
|
||||||
|
run: echo "base_ref=$(git rev-parse HEAD~1)" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
migration-check:
|
migration-check:
|
||||||
name: Flyway Migration Check on Master
|
name: Flyway Migration Check on Master
|
||||||
|
needs: [ get-base-ref ]
|
||||||
uses: ./.github/workflows/migrations-check.yml
|
uses: ./.github/workflows/migrations-check.yml
|
||||||
with:
|
with:
|
||||||
base_ref: 'HEAD~1'
|
base_ref: ${{ needs.get-base-ref.outputs.base_ref }}
|
||||||
head_ref: 'HEAD'
|
head_ref: ${{ github.sha }}
|
||||||
|
|
||||||
build-and-release:
|
build-and-release:
|
||||||
needs: [ migration-check ]
|
needs: [ migration-check ]
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ jobs:
|
|||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.base_ref }}
|
ref: ${{ inputs.base_ref }}
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Apply Migrations from Base Branch
|
- name: Apply Migrations from Base Branch
|
||||||
run: |
|
run: |
|
||||||
@@ -80,6 +81,7 @@ jobs:
|
|||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.head_ref }}
|
ref: ${{ inputs.head_ref }}
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Apply Migrations from Head Branch
|
- name: Apply Migrations from Head Branch
|
||||||
run: |
|
run: |
|
||||||
@@ -94,4 +96,3 @@ jobs:
|
|||||||
|
|
||||||
- name: Confirm Flyway Dry Run Success
|
- name: Confirm Flyway Dry Run Success
|
||||||
run: echo "✅ Flyway migration preview successful. Migrations can be applied cleanly."
|
run: echo "✅ Flyway migration preview successful. Migrations can be applied cleanly."
|
||||||
|
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ Experience BookLore's features in a live environment before deploying your own i
|
|||||||
|
|
||||||
| 🌐 Demo URL | 👤 Username | 🔑 Password |
|
| 🌐 Demo URL | 👤 Username | 🔑 Password |
|
||||||
|----------------------------------------------------|-------------|--------------------|
|
|----------------------------------------------------|-------------|--------------------|
|
||||||
| **[demo.booklore.dev](https://demo.booklore.dev)** | `booklore` | `9HC20PGGfitvWaZ1` |
|
| **[demo.booklore.org](https://demo.booklore.org)** | `booklore` | `9HC20PGGfitvWaZ1` |
|
||||||
|
|
||||||
> ⚠️ **Note:** Demo account has standard user permissions only.
|
> ⚠️ **Note:** Demo account has standard user permissions only.
|
||||||
> Admin features (user management, library setup) require a self-hosted instance.
|
> Admin features (user management, library setup) require a self-hosted instance.
|
||||||
|
|||||||
Reference in New Issue
Block a user