File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88name : Deploy
99
1010on :
11- push :
12- branches :
13- - main
14- pull_request :
15- branches :
16- - main
1711 workflow_dispatch :
1812 inputs :
1913 command :
2014 type : choice
2115 options :
22- - build # build only
2316 - publish # build & publish to pypi
2417 - release # build & release to svn
2518 default : build
@@ -28,20 +21,6 @@ permissions:
2821 contents : read
2922
3023jobs :
31- build :
32- if : |
33- github.event_name == 'pull_request' ||
34- github.event_name == 'push' ||
35- github.event_name == 'workflow_dispatch' && inputs.command == 'build'
36- runs-on : fusionauth-builder
37- steps :
38- - name : checkout
39- uses : actions/checkout@v4
40-
41- - name : compile
42- shell : bash -l {0}
43- run : sb compile
44-
4524 deploy :
4625 if : |
4726 github.event_name == 'workflow_dispatch' &&
Original file line number Diff line number Diff line change 11# Run locally with act:
22#
33# act pull_request \
4- # --platform fusionauth-builder=752443094709.dkr. ecr.us-west-2.amazonaws.com/gha-runner- fusionauth-builder:latest \
4+ # --platform fusionauth-builder=[ ecr-repo-name]/ fusionauth-builder:latest] \
55# --workflows ./.github/workflows/test.yaml
66
77name : Test
You can’t perform that action at this time.
0 commit comments