Add secrets on build stages

This commit is contained in:
Manuel Cortez 2022-12-06 09:12:09 -06:00
parent cadcc56182
commit e90c370e73
No known key found for this signature in database
GPG Key ID: 9E0735CA15EFE790

View File

@ -31,6 +31,7 @@ twblue32:
- cd ..\src - cd ..\src
- '&$env:PYTHON ..\doc\generator.py' - '&$env:PYTHON ..\doc\generator.py'
- '&$env:PYTHON write_version_data.py' - '&$env:PYTHON write_version_data.py'
- New-Item "appkeys.py" -ItemType File -Value "twitter_api_key='$TWITTER_API_KEY'`ntwitter_api_secret='$TWITTER_API_SECRET'"
- '&$env:PYTHON setup.py build' - '&$env:PYTHON setup.py build'
- cd .. - cd ..
- mkdir artifacts - mkdir artifacts
@ -70,6 +71,7 @@ twblue64:
- cd ..\src - cd ..\src
- '&$env:PYTHON ..\doc\generator.py' - '&$env:PYTHON ..\doc\generator.py'
- '&$env:PYTHON write_version_data.py' - '&$env:PYTHON write_version_data.py'
- New-Item "appkeys.py" -ItemType File -Value "twitter_api_key='$TWITTER_API_KEY'`ntwitter_api_secret='$TWITTER_API_SECRET'"
- '&$env:PYTHON setup.py build' - '&$env:PYTHON setup.py build'
- cd .. - cd ..
- mkdir artifacts - mkdir artifacts