File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 permissions :
2929 contents : write
3030 pull-requests : write
31+ environment :
32+ name : homebrew
33+ url : https://github.com/MFlowCode/homebrew-mfc
3134 steps :
3235 - name : Checkout MFC repository
3336 uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -135,6 +135,9 @@ jobs:
135135 manifests :
136136 runs-on : ubuntu-latest
137137 needs : Container
138+ environment :
139+ name : containers
140+ url : https://hub.docker.com/r/mflowcode/mfc
138141 steps :
139142 - name : Login to Docker Hub
140143 uses : docker/login-action@v3
Original file line number Diff line number Diff line change 99 pull_request :
1010
1111jobs :
12- docs :
13- name : Build & Publish
12+ build :
13+ name : Build & Verify
1414 runs-on : ubuntu-latest
1515
1616 steps :
7373 args : -c .lychee.toml build/install/docs/mfc/
7474 fail : true
7575
76+ publish :
77+ name : Publish
78+ runs-on : ubuntu-latest
79+ needs : build
80+ if : github.repository == 'MFlowCode/MFC' && github.ref == 'refs/heads/master' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
81+ environment :
82+ name : docs
83+ url : https://mflowcode.github.io/
84+
85+ steps :
86+ - uses : actions/checkout@v4
87+
88+ - name : Download Built Documentation Artifact
89+ uses : actions/download-artifact@v4
90+ with :
91+ name : mfc-docs
92+ path : build/install/docs/mfc
93+
7694 - name : Publish Documentation
77- if : github.repository == 'MFlowCode/MFC' && github.ref == 'refs/heads/master' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' )
7895 run : |
7996 set +e
8097 git ls-remote "${{ secrets.DOC_PUSH_URL }}" -q
Original file line number Diff line number Diff line change 2525 update-homebrew-tap :
2626 name : Update homebrew-mfc tap
2727 runs-on : ubuntu-latest
28+ environment :
29+ name : homebrew
30+ url : https://github.com/MFlowCode/homebrew-mfc
2831
2932 steps :
3033 - name : Determine version
You can’t perform that action at this time.
0 commit comments