mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 18:21:10 +00:00
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:
1 file changed
+2
-6
@@ -11,13 +11,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: test
|
environment: test
|
||||||
env: # Set Environment options that are meant to be left empty so the user fills them
|
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"
|
JwtSettings__SecretKey: ${{ secrets.JWT_SETTINGS_SECRET_KEY }}
|
||||||
EncryptionSettings__SecretKey: "FLYO0QRo6u2VzoFOgNkkEwYNGtqhJ3QGZd7iAHNEJeM"
|
EncryptionSettings__SecretKey: ${{ secrets.ENCRYPTION_SETTINGS_SECRET_KEY }}
|
||||||
steps:
|
steps:
|
||||||
- name: Overidden Environment Variables
|
|
||||||
run: |
|
|
||||||
echo "JwtSettings__SecretKey: $JwtSettings__SecretKey"
|
|
||||||
echo "EncryptionSettings__SecretKey: $EncryptionSettings__SecretKey"
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up .NET
|
- name: Set up .NET
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
|
|||||||
Reference in new issue
Block a user