Skip to content

Commit 92de336

Browse files
committed
fix: ajustando workflow
1 parent c9ec82d commit 92de336

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/main_webapp-bet-blocker.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ jobs:
6565

6666
- name: Set MongoDB Environment Variables
6767
run: |
68-
echo "MONGODB_CONNECTIONSTRING=${{ secrets.MONGODB_CONNECTIONSTRING }}" >> $GITHUB_ENV
69-
echo "MONGODB_DATABASENAME=${{ secrets.MONGODB_DATABASENAME }}" >> $GITHUB_ENV
70-
echo "MONGODB_COLLECTIONNAME=${{ secrets.MONGODB_COLLECTIONNAME }}" >> $GITHUB_ENV
71-
68+
echo "MongoDB__ConnectionString=${{ secrets.MONGODB_CONNECTIONSTRING }}" >> $GITHUB_ENV
69+
echo "MongoDB__DatabaseName=${{ secrets.MONGODB_DATABASENAME }}" >> $GITHUB_ENV
70+
echo "MongoDB__CollectionName=${{ secrets.MONGODB_COLLECTIONNAME }}" >> $GITHUB_ENV

bet-blocker/appsettings.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"blockList": "https://raw.githubusercontent.com/bet-blocker/bet-blocker/main/blocklist.txt",
1010
"StoragePath": "json",
1111
"MongoDB": {
12-
"ConnectionString": "MONGODB_CONNECTIONSTRING",
13-
"DatabaseName": "MONGODB_DATABASENAME",
14-
"CollectionName": "MONGODB_COLLECTIONNAME"
12+
"ConnectionString": "",
13+
"DatabaseName": "",
14+
"CollectionName": ""
1515
}
1616
}

0 commit comments

Comments
 (0)