Skip to content

Commit

Permalink
added rollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
introkun committed Mar 27, 2024
1 parent 98f39cd commit 22c7597
Show file tree
Hide file tree
Showing 5 changed files with 212 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,18 @@ jobs:
echo "Renaming new app to current"
cd /opt
mv $tempDir $appDir
notify_rollbar:
needs: deploy
runs-on: ubuntu-latest
steps:
- name: Notify deploy to Rollbar
uses: rollbar/[email protected]
id: rollbar_deploy
with:
environment: production
version: ${{ github.sha }}
env:
ROLLBAR_ACCESS_TOKEN: ${{ secrets.ROLLBAR_SERVER_TOKEN }}
ROLLBAR_USERNAME: ${{ vars.ROLLBAR_USERNAME }}

4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ config/debug.json

node_modules

.DS_Store
.DS_Store

.env
179 changes: 179 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
"license": "MIT",
"dependencies": {
"config": "^3.3.11",
"dotenv": "^16.4.5",
"nedb": "^1.8.0",
"node-telegram-bot-api": "0.65.1",
"rollbar": "^2.26.4",
"settings-store": "^1.4.1"
},
"type": "module",
Expand Down
Loading

0 comments on commit 22c7597

Please sign in to comment.