Updates GitHub Action script to use GitHub Secrets

This commit is contained in:
BinaryAlley committed 2024-11-06 18:02:15 +02:00
1 parent 15898e51f6
commit 693025ba1a
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