Skip to content

Commit

Permalink
notificator.firebase.serviceAccount
Browse files Browse the repository at this point in the history
  • Loading branch information
jcardus committed Aug 21, 2024
1 parent 0039dce commit 5802134
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
sed -i "s/\${SMS_HTTP_AUTHORIZATION}/${{secrets.SMS_HTTP_AUTHORIZATION}}/g" configuration/traccar.xml
sed -i "s/\${GEOCODER_KEY}/${{secrets.GEOCODER_KEY}}/g" configuration/traccar.xml
sed -i "/\${NOTIFICATOR_FIREBASE_SERVICE_ACCOUNT}/r /dev/stdin" configuration/traccar.xml <<'EOF'
<entry key='notificator.firebase.service.account'>${{ secrets.NOTIFICATOR_FIREBASE_SERVICE_ACCOUNT }}</entry>
<entry key='notificator.firebase.serviceAccount'>${{ secrets.NOTIFICATOR_FIREBASE_SERVICE_ACCOUNT }}</entry>
EOF
sed -i "/\${NOTIFICATOR_FIREBASE_SERVICE_ACCOUNT}/d" configuration/traccar.xml
cp -rv configuration/* setup/deploy
Expand Down
2 changes: 1 addition & 1 deletion traccar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<entry key='web.port'>80</entry>

<entry key='notificator.types'>web,mail,sms,firebase</entry>
<entry key='notificator.firebase.service.account'>${NOTIFICATOR_FIREBASE_SERVICE_ACCOUNT}</entry>
<entry key='notificator.firebase.serviceAccount'>${NOTIFICATOR_FIREBASE_SERVICE_ACCOUNT}</entry>
<entry key='sms.http.url'>https://us-central1-traccar-smsgateway.cloudfunctions.net/sendSms</entry>
<entry key='sms.http.authorization'>${SMS_HTTP_AUTHORIZATION}</entry>
<entry key='sms.http.template'>
Expand Down

0 comments on commit 5802134

Please sign in to comment.