diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2ef7fcb..a95ce62 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,8 +72,9 @@ jobs: run: | python -m poetry run python manage.py --build env: - POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }} LASTFM_API_KEY: ${{ secrets.LASTFM_API_KEY }} + PLUGIN_LYRICS_AUTHORITY: ${{ secrets.PLUGIN_LYRICS_AUTHORITY }} + PLUGIN_LYRICS_ROOT_URL: ${{ secrets.PLUGIN_LYRICS_ROOT_URL }} - name: Verify Linux build success if: matrix.os == 'ubuntu-20.04' run: | @@ -102,7 +103,7 @@ jobs: name: win32 path: dist/swingmusic.exe retention-days: 1 - + release: name: Create New Release runs-on: ubuntu-latest diff --git a/app/settings.py b/app/settings.py index 7695f1e..5e8d5f3 100644 --- a/app/settings.py +++ b/app/settings.py @@ -247,7 +247,8 @@ class Keys: def load(cls): if IS_BUILD: cls.LASTFM_API_KEY = configs.LASTFM_API_KEY - cls.POSTHOG_API_KEY = configs.POSTHOG_API_KEY + cls.PLUGIN_LYRICS_AUTHORITY = configs.PLUGIN_LYRICS_AUTHORITY + cls.PLUGIN_LYRICS_ROOT_URL = configs.PLUGIN_LYRICS_ROOT_URL cls.verify_keys()