Skip to content

Commit

Permalink
fix: ajustando workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
brunohash committed Nov 30, 2024
1 parent c9ec82d commit 92de336
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main_webapp-bet-blocker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ jobs:

- name: Set MongoDB Environment Variables
run: |
echo "MONGODB_CONNECTIONSTRING=${{ secrets.MONGODB_CONNECTIONSTRING }}" >> $GITHUB_ENV
echo "MONGODB_DATABASENAME=${{ secrets.MONGODB_DATABASENAME }}" >> $GITHUB_ENV
echo "MONGODB_COLLECTIONNAME=${{ secrets.MONGODB_COLLECTIONNAME }}" >> $GITHUB_ENV
echo "MongoDB__ConnectionString=${{ secrets.MONGODB_CONNECTIONSTRING }}" >> $GITHUB_ENV
echo "MongoDB__DatabaseName=${{ secrets.MONGODB_DATABASENAME }}" >> $GITHUB_ENV
echo "MongoDB__CollectionName=${{ secrets.MONGODB_COLLECTIONNAME }}" >> $GITHUB_ENV
6 changes: 3 additions & 3 deletions bet-blocker/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"blockList": "https://raw.githubusercontent.com/bet-blocker/bet-blocker/main/blocklist.txt",
"StoragePath": "json",
"MongoDB": {
"ConnectionString": "MONGODB_CONNECTIONSTRING",
"DatabaseName": "MONGODB_DATABASENAME",
"CollectionName": "MONGODB_COLLECTIONNAME"
"ConnectionString": "",
"DatabaseName": "",
"CollectionName": ""
}
}

0 comments on commit 92de336

Please sign in to comment.