mirror of
https://github.com/koreanbots/core.git
synced 2026-02-01 17:20:24 +00:00
ci: handling sentry release
This commit is contained in:
parent
809ac099b1
commit
fa0c70a185
10
.github/workflows/testing.yml
vendored
10
.github/workflows/testing.yml
vendored
@ -39,11 +39,6 @@ jobs:
|
||||
with:
|
||||
mysql database: 'discordbots'
|
||||
mysql root password: 'test'
|
||||
- name: Wait for MySQL
|
||||
run: |
|
||||
while ! mysqladmin ping --host=127.0.0.1 --password=test --silent; do
|
||||
sleep 1
|
||||
done
|
||||
- name: Run Jest
|
||||
run: yarn test
|
||||
- name: Generate RSA Key Pair
|
||||
@ -56,12 +51,13 @@ jobs:
|
||||
run: |
|
||||
mv .env.demo.local .env.production.local
|
||||
printf 'MARIADB_ROOT_PASSWORD=YOUSHALLNOTPASS\nCOMMIT_HASH=${{ github.sha }}' > .env
|
||||
- name: Create needed files
|
||||
run: echo '{"tester":"DEMO_KEY"}' > secret.json
|
||||
- name: Build
|
||||
run: yarn build
|
||||
env:
|
||||
CI: true
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
NEXT_PUBLIC_SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
||||
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
||||
|
||||
# docker:
|
||||
# needs:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user