Skip to content

Commit

Permalink
Updated cicd.yml
Browse files Browse the repository at this point in the history
Removed connection string as secret
  • Loading branch information
lgaljer20 authored Jan 5, 2024
1 parent 5928f11 commit 10bd870
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ jobs:

- name: List Directories
run: dir

- name: Replace secret placeholder in appsettings.json
run: |
sed -i "s/#{CONNECTION_STRING}/${{secrets.CONNECTION_STRING}}/g" SmartCharger/appsettings.json

- name: Restore NuGet packages for backend
run: nuget restore SmartCharger.sln
Expand Down

0 comments on commit 10bd870

Please sign in to comment.