update release yml

This commit is contained in:
mungai-njoroge 2023-11-14 14:31:10 +03:00
parent b911224775
commit 569f86d76c
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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()