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:
|
with:
|
||||||
mysql database: 'discordbots'
|
mysql database: 'discordbots'
|
||||||
mysql root password: 'test'
|
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
|
- name: Run Jest
|
||||||
run: yarn test
|
run: yarn test
|
||||||
- name: Generate RSA Key Pair
|
- name: Generate RSA Key Pair
|
||||||
@ -56,12 +51,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mv .env.demo.local .env.production.local
|
mv .env.demo.local .env.production.local
|
||||||
printf 'MARIADB_ROOT_PASSWORD=YOUSHALLNOTPASS\nCOMMIT_HASH=${{ github.sha }}' > .env
|
printf 'MARIADB_ROOT_PASSWORD=YOUSHALLNOTPASS\nCOMMIT_HASH=${{ github.sha }}' > .env
|
||||||
- name: Create needed files
|
|
||||||
run: echo '{"tester":"DEMO_KEY"}' > secret.json
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: yarn build
|
run: yarn build
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||||
|
NEXT_PUBLIC_SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
||||||
|
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
||||||
|
|
||||||
# docker:
|
# docker:
|
||||||
# needs:
|
# needs:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user