Merge pull request #49 from BinaryAlley/refactor/update-github-action-script-with-environemnt-variables

Updates GitHub Action script to use GitHub Secrets
This commit is contained in:
BinaryAlley authored and GitHub committed 2024-11-06 18:04:20 +02:00
commit 5a82370787
1 file changed
+2 -6
+2 -6
View File
@@ -11,13 +11,9 @@ jobs:
runs-on: ubuntu-latest
environment: test
env: # Set Environment options that are meant to be left empty so the user fills them
JwtSettings__SecretKey: "ds1/Ly$hFHj4-(rs^Qq.M/@sP90%j@Ma"
EncryptionSettings__SecretKey: "FLYO0QRo6u2VzoFOgNkkEwYNGtqhJ3QGZd7iAHNEJeM"
JwtSettings__SecretKey: ${{ secrets.JWT_SETTINGS_SECRET_KEY }}
EncryptionSettings__SecretKey: ${{ secrets.ENCRYPTION_SETTINGS_SECRET_KEY }}
steps:
- name: Overidden Environment Variables
run: |
echo "JwtSettings__SecretKey: $JwtSettings__SecretKey"
echo "EncryptionSettings__SecretKey: $EncryptionSettings__SecretKey"
- uses: actions/checkout@v2
- name: Set up .NET
uses: actions/setup-dotnet@v1