File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change 1
1
name : Build
2
2
on : pull_request
3
3
4
- env :
5
- ASSET_URL : https://s3.amazonaws.com/noam-gaash.co.il/${{ github.run_id }}/open-bus/${{ github.sha }}
6
- should_run : ${{ secrets.AWS_SECRET_ACCESS_KEY}}
7
4
jobs :
8
- should_run :
9
- runs-on : ubuntu-latest
10
- outputs :
11
- should_run : ${{ steps.set_should_run.outputs.should_run }}
12
- steps :
13
- - name : Set should_run
14
- id : set_should_run
15
- if : env.should_run
16
- run : echo "::set-output name=should_run::true"
17
-
18
5
build :
19
6
runs-on : ubuntu-latest
20
- needs : [should_run]
21
- if : ${{ needs.should_run.outputs.should_run == 'true' }}
22
7
steps :
23
8
- uses : actions/checkout@v3
24
9
- uses : actions/setup-node@v3
36
21
path : dist
37
22
build-storybook :
38
23
runs-on : ubuntu-latest
39
- needs : [should_run]
40
- if : ${{ needs.should_run.outputs.should_run == 'true' }}
41
24
steps :
42
25
- uses : actions/checkout@v3
43
26
- uses : actions/setup-node@v3
You can’t perform that action at this time.
0 commit comments