ci: updated trigger

This commit is contained in:
wonderlandpark 2021-04-13 14:27:30 +09:00
parent 8683b8a908
commit a20a8b18bd
No known key found for this signature in database
GPG Key ID: E3E650B146478C64

View File

@ -1,10 +1,5 @@
name: CI
on:
push:
pull_request:
branches:
- '*'
- '!master'
on: [push, pull_request]
jobs:
eslint:
name: ESLint
@ -57,7 +52,7 @@ jobs:
- name: Create needed files
run: echo '{"tester":"DEMO_KEY"}' > secret.json
- name: Build
if: github.ref == 'refs/heads/master'
if: success() && github.ref == 'refs/heads/master'
run: yarn build
env:
NEXT_PUBLIC_SENTRY_SERVER_ROOT_DIR: ./api