diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2b7ec8c025..44e43f8d66 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,20 +3,36 @@ name: Build mkdocs and deploy to GitHub Pages on: [push, pull_request] jobs: + build: name: Build docs runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.1 - - uses: actions/setup-python@v5.0.0 + - name: Checkout repository + uses: actions/checkout@v4.1.1 + with: + fetch-depth: 0 + sparse-checkout: | + docs + - name: Setup python + uses: actions/setup-python@v5.0.0 with: python-version: 3.x - - uses: actions/cache@v3.3.2 + - name: Get pip cache directory + id: pip-cache + run: | + echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT + - name: Cache dependencies + uses: actions/cache@v4.0.0 with: - key: ${{ github.ref }} - path: .cache - - run: pip install -r docs/requirements.txt - - run: mkdocs build + path: ${{ steps.pip-cache.outputs.dir }} + key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} + restore-keys: | + ${{ runner.os }}-pip- + - name: Install dependencies + run: pip install -r docs/requirements.txt + - name: Build documentation + run: mkdocs build deploy: if: github.event_name == 'push' && contains(fromJson('["refs/heads/master", "refs/heads/main"]'), github.ref) @@ -24,15 +40,28 @@ jobs: name: Deploy docs runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.1 + - name: Checkout repository + uses: actions/checkout@v4.1.1 with: - fetch-depth: "0" - - uses: actions/setup-python@v5.0.0 + fetch-depth: 0 + sparse-checkout: | + docs + - name: Setup python + uses: actions/setup-python@v5.0.0 with: python-version: 3.x - - uses: actions/cache@v3.3.2 + - name: Get pip cache directory + id: pip-cache + run: | + echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT + - name: Cache dependencies + uses: actions/cache@v4.0.0 with: - key: ${{ github.ref }} - path: .cache - - run: pip install -r docs/requirements.txt - - run: mkdocs gh-deploy --force + path: ${{ steps.pip-cache.outputs.dir }} + key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} + restore-keys: | + ${{ runner.os }}-pip- + - name: Install dependencies + run: pip install -r docs/requirements.txt + - name: Deploy to GitHub Pages + run: mkdocs gh-deploy --force diff --git a/compose/.apps/audiobookshelf/audiobookshelf.aarch64.yml b/compose/.apps/audiobookshelf/audiobookshelf.aarch64.yml new file mode 100644 index 0000000000..e0f3f79f03 --- /dev/null +++ b/compose/.apps/audiobookshelf/audiobookshelf.aarch64.yml @@ -0,0 +1,3 @@ +services: + audiobookshelf: + image: ghcr.io/advplyr/audiobookshelf:${AUDIOBOOKSHELF_TAG} diff --git a/compose/.apps/cloudflareddns/cloudflareddns.aarch64.yml b/compose/.apps/cloudflareddns/cloudflareddns.aarch64.yml index 1763859161..ecea323cb5 100644 --- a/compose/.apps/cloudflareddns/cloudflareddns.aarch64.yml +++ b/compose/.apps/cloudflareddns/cloudflareddns.aarch64.yml @@ -1,3 +1,3 @@ services: cloudflareddns: - image: cr.hotio.dev/hotio/cloudflareddns:${CLOUDFLAREDDNS_TAG} + image: ghcr.io/hotio/cloudflareddns:${CLOUDFLAREDDNS_TAG} diff --git a/compose/.apps/cloudflareddns/cloudflareddns.x86_64.yml b/compose/.apps/cloudflareddns/cloudflareddns.x86_64.yml index 1763859161..ecea323cb5 100644 --- a/compose/.apps/cloudflareddns/cloudflareddns.x86_64.yml +++ b/compose/.apps/cloudflareddns/cloudflareddns.x86_64.yml @@ -1,3 +1,3 @@ services: cloudflareddns: - image: cr.hotio.dev/hotio/cloudflareddns:${CLOUDFLAREDDNS_TAG} + image: ghcr.io/hotio/cloudflareddns:${CLOUDFLAREDDNS_TAG} diff --git a/compose/.apps/duplicacy/duplicacy.aarch64.yml b/compose/.apps/duplicacy/duplicacy.aarch64.yml index 7558fb539d..d235dca9a6 100644 --- a/compose/.apps/duplicacy/duplicacy.aarch64.yml +++ b/compose/.apps/duplicacy/duplicacy.aarch64.yml @@ -1,3 +1,3 @@ services: duplicacy: - image: cr.hotio.dev/hotio/duplicacy:${DUPLICACY_TAG} + image: ghcr.io/hotio/duplicacy:${DUPLICACY_TAG} diff --git a/compose/.apps/duplicacy/duplicacy.x86_64.yml b/compose/.apps/duplicacy/duplicacy.x86_64.yml index 7558fb539d..d235dca9a6 100644 --- a/compose/.apps/duplicacy/duplicacy.x86_64.yml +++ b/compose/.apps/duplicacy/duplicacy.x86_64.yml @@ -1,3 +1,3 @@ services: duplicacy: - image: cr.hotio.dev/hotio/duplicacy:${DUPLICACY_TAG} + image: ghcr.io/hotio/duplicacy:${DUPLICACY_TAG} diff --git a/compose/.apps/unpackerr/unpackerr.aarch64.yml b/compose/.apps/unpackerr/unpackerr.aarch64.yml index 12561183fd..d0cebc806a 100644 --- a/compose/.apps/unpackerr/unpackerr.aarch64.yml +++ b/compose/.apps/unpackerr/unpackerr.aarch64.yml @@ -1,3 +1,3 @@ services: unpackerr: - image: cr.hotio.dev/hotio/unpackerr:${UNPACKERR_TAG} + image: ghcr.io/hotio/unpackerr:${UNPACKERR_TAG} diff --git a/compose/.apps/unpackerr/unpackerr.x86_64.yml b/compose/.apps/unpackerr/unpackerr.x86_64.yml index 12561183fd..d0cebc806a 100644 --- a/compose/.apps/unpackerr/unpackerr.x86_64.yml +++ b/compose/.apps/unpackerr/unpackerr.x86_64.yml @@ -1,3 +1,3 @@ services: unpackerr: - image: cr.hotio.dev/hotio/unpackerr:${UNPACKERR_TAG} + image: ghcr.io/hotio/unpackerr:${UNPACKERR_TAG} diff --git a/docs/apps/plex.md b/docs/apps/plex.md index d11f7011d6..9d74ed6bcf 100644 --- a/docs/apps/plex.md +++ b/docs/apps/plex.md @@ -23,7 +23,7 @@ you need assistance setting up this application please visit our One possible resolution to this issue is to remove the codecs folder: ```bash -rm -rf "~/.config/appdata/plex/Library/Application Support/Plex Media Server/Codecs" +find "~/.config/appdata/plex/Library/Application Support/Plex Media Server/Codecs"* -type d -exec rm -rv {} + ``` Or place a custom init script in your config (ex: @@ -31,11 +31,14 @@ Or place a custom init script in your config (ex: ```bash #!/usr/bin/with-contenv bash -set -Eeuo pipefail +set -euo pipefail IFS=$'\n\t' -rm -rf "/config/Library/Application Support/Plex Media Server/Codecs" -echo "Codecs removed." +echo "Remove codecs: start" + +find "/config/Library/Application Support/Plex Media Server/Codecs/"* -type d -exec rm -rv {} + + +echo "Remove codecs: end" ``` This will run every time the container restarts. diff --git a/docs/overrides/introduction.md b/docs/overrides/introduction.md index 19384f0b45..5f79959a17 100644 --- a/docs/overrides/introduction.md +++ b/docs/overrides/introduction.md @@ -25,7 +25,7 @@ The example below will change Sonarr to use hotio's image for Sonarr and add a / ```yaml services: sonarr: - image: cr.hotio.dev/hotio/sonarr:latest + image: ghcr.io/hotio/sonarr:latest volumes: - /etc/localtime:/etc/localtime:ro - ${DOCKERCONFDIR}/sonarr:/config diff --git a/docs/overrides/overseerr.md b/docs/overrides/overseerr.md index a556370c4a..41a1f35329 100644 --- a/docs/overrides/overseerr.md +++ b/docs/overrides/overseerr.md @@ -20,7 +20,7 @@ services: - PUID=${PUID} - TZ=${TZ} hostname: ${DOCKERHOSTNAME} - image: cr.hotio.dev/hotio/overseerr:latest + image: ghcr.io/hotio/overseerr:latest logging: driver: json-file options: diff --git a/docs/overrides/petio.md b/docs/overrides/petio.md index bb3e1a013c..1718df7382 100644 --- a/docs/overrides/petio.md +++ b/docs/overrides/petio.md @@ -18,7 +18,7 @@ services: environment: - TZ=${TZ} hostname: ${DOCKERHOSTNAME} - image: cr.hotio.dev/hotio/petio:latest + image: ghcr.io/hotio/petio:latest logging: driver: json-file options: diff --git a/docs/requirements.txt b/docs/requirements.txt index 5cd6d4e5a0..6168f0d35d 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,4 @@ -mkdocs-git-revision-date-localized-plugin==1.2.1 -mkdocs-material==9.5.1 -mkdocs-minify-plugin==0.7.1 +mkdocs-git-revision-date-localized-plugin==1.2.4 +mkdocs-material==9.5.9 +mkdocs-minify-plugin==0.8.0 mkdocs-redirects==1.2.1