Skip to content

Commit

Permalink
chore: add SENTRY_AUTH_TOKEN to GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Ho3einWave committed Dec 8, 2024
1 parent a8b64dc commit fb0f925
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ on:
jobs:
test:
runs-on: ubuntu-latest

env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
name: Run test on push main
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
node-version: '20.x'
- name: Install pnpm
run: npm install -g pnpm
- run: pnpm install
Expand Down Expand Up @@ -43,6 +44,7 @@ jobs:

- name: Deploy to Server
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
DEPLOY_USER: ${{ secrets.DEV_SSH_USER }}
DEPLOY_HOST: ${{ secrets.DEV_SSH_HOST }}
DEPLOY_PATH: ${{ secrets.DEV_SSH_DEPLOY_PATH }}
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ jobs:
permissions:
contents: read
id-token: write
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Install pnpm
run: npm install -g pnpm
- run: pnpm install
Expand Down

0 comments on commit fb0f925

Please sign in to comment.