-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (32 loc) · 950 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Build with bratiska-cli
on:
pull_request:
branches:
- master
jobs:
conditions:
name: Check for build conditions
uses: bratislava/github-actions/.github/workflows/build-conditions-inhouse.yml@stable
permissions: write-all
strapi:
name: build Strapi
needs: conditions
if: needs.conditions.outputs.strapi == 'true'
uses: bratislava/github-actions/.github/workflows/build-with-bratiska-cli-inhouse.yml@stable
with:
directory: strapi/
debug: --debug
secrets:
sentry-token: ${{ secrets.SENTRY_AUTH_TOKEN }}
permissions: write-all
next:
name: build next
needs: conditions
if: needs.conditions.outputs.next == 'true'
uses: bratislava/github-actions/.github/workflows/build-with-bratiska-cli-inhouse.yml@stable
with:
directory: next/
debug: --debug
secrets:
sentry-token: ${{ secrets.SENTRY_AUTH_TOKEN }}
permissions: write-all