Skip to content

Commit

Permalink
chore: displaying auth token for debugging purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
MAXOUXAX committed May 10, 2024
1 parent e894df3 commit 43a1fb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/backend-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }}
envs: SENTRY_AUTH_TOKEN
script: |
export SENTRY_AUTH_TOKEN=$SENTRY_AUTH_TOKEN
echo Using Sentry token: $SENTRY_AUTH_TOKEN
echo $SENTRY_AUTH_TOKEN | cut -c -10
cd /home/ubuntu/.docker/datsmysong
git pull
docker-compose down
Expand Down
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dev": "cross-env NODE_ENV=development nodemon --watch src src/server.ts",
"build": "tsc -p tsconfig.json && npm run sentry:sourcemaps",
"postinstall": "npm link ../commons",
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org datsmysong --project backend ./build --log-level=debug && sentry-cli sourcemaps upload --org datsmysong --project backend ./build"
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org datsmysong --project backend ./build && sentry-cli sourcemaps upload --org datsmysong --project backend ./build"
},
"author": "",
"license": "ISC",
Expand Down

0 comments on commit 43a1fb6

Please sign in to comment.