diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 83ca1889..88797227 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,6 +26,8 @@ jobs: npm run lint - name: 🏗 Build html run: make build + env: + BASE_PATH: /muse - name: 🚀 Deploy to GitHub pages if: startsWith(github.event.ref, 'refs/tags') || github.ref == 'refs/heads/master' uses: peaceiris/actions-gh-pages@v3 diff --git a/Makefile b/Makefile index e14993db..cb291c1c 100644 --- a/Makefile +++ b/Makefile @@ -52,9 +52,10 @@ build-docker-mopidy: docker build -f Dockerfile-base -t cristianpb/mopidy-base:${PACKAGE_VERSION} --target base . build: - npm --no-git-tag-version --allow-same-version version ${APP_VERSION_SAFE} - sed -i -E "s/version = (.*)/version = ${APP_VERSION_CUT}/" setup.cfg; - NODE_ENV=production npm run build + @npm --no-git-tag-version --allow-same-version version ${APP_VERSION_SAFE} + @sed -i -E "s/version = (.*)/version = ${APP_VERSION_CUT}/" setup.cfg; + @echo "Version ${APP_VERSION_CUT}" + @NODE_ENV=production npm run build dist: sudo mkdir -p ${APP_PATH}/dist ; sudo chmod g+rw ${APP_PATH}/dist/.; sudo chgrp 1000 ${APP_PATH}/dist/.; diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 727bcccf..aa8a6d8a 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -9,7 +9,7 @@ {#if $albumImage}