File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -34,22 +34,23 @@ jobs:
3434 secrets :
3535 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
3636
37- container :
37+ docs :
3838 needs : check
3939 if : needs.check.outputs.branch-pr == ''
40- uses : ./.github/workflows/_container .yml
40+ uses : ./.github/workflows/_docs .yml
4141 permissions :
42- contents : read
43- packages : write
42+ contents : write
4443
45- dist :
46- needs : check
47- if : needs.check.outputs.branch-pr == ''
48- uses : ./.github/workflows/_dist.yml
44+ example :
45+ needs : test
46+ if : github.ref_name == 'main'
47+ uses : ./.github/workflows/_example.yml
48+ secrets :
49+ EXAMPLE_DEPLOY_KEY : ${{ secrets.EXAMPLE_DEPLOY_KEY }}
4950
5051 release :
5152 if : github.ref_type == 'tag'
52- needs : [dist]
53+ needs : docs
5354 uses : ./.github/workflows/_release.yml
5455 permissions :
5556 contents : write
You can’t perform that action at this time.
0 commit comments