mirror of
https://github.com/kikootwo/ReadMeABook.git
synced 2026-06-02 20:30:10 +00:00
Add filesystem scan trigger and version badge features
Implements optional filesystem scan triggering for Plex and Audiobookshelf after file organization, with new settings in the admin UI, setup wizard, and API. Updates documentation to reflect scan trigger options and improved file organization/cleanup logic. Refactors dropdown menus to use smart positioning and portals for better UX. Adds a version API route and a VersionBadge component to display build info in the header. Updates Docker build to inject version metadata.
This commit is contained in:
@@ -52,6 +52,12 @@ jobs:
|
||||
org.opencontainers.image.description=All-in-one audiobook request and automation system (PostgreSQL + Redis + App)
|
||||
org.opencontainers.image.vendor=ReadMeABook
|
||||
|
||||
- name: Capture version information
|
||||
id: version
|
||||
run: |
|
||||
echo "git_commit=$(git rev-parse --short=7 HEAD)" >> $GITHUB_OUTPUT
|
||||
echo "build_date=$(date -u +"%Y-%m-%dT%H:%M:%SZ")" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Build and push unified Docker image
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
@@ -63,6 +69,9 @@ jobs:
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
build-args: |
|
||||
GIT_COMMIT=${{ steps.version.outputs.git_commit }}
|
||||
BUILD_DATE=${{ steps.version.outputs.build_date }}
|
||||
|
||||
- name: Generate deployment instructions
|
||||
if: github.event_name != 'pull_request'
|
||||
|
||||
Reference in New Issue
Block a user