File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 11name : Documentation
22
3- on : [push, pull_request, workflow_dispatch]
3+ on :
4+ schedule :
5+ - cron : ' 0 0 * * *' # This runs every day at midnight UTC
6+ workflow_dispatch :
7+ push :
8+ pull_request :
49
510jobs :
611 docs :
712 name : Build & Publish
813 runs-on : ubuntu-latest
914
10- concurrency :
11- group : docs-publish
12- cancel-in-progress : true
13-
1415 steps :
1516 - uses : actions/checkout@v4
1617
4748 echo "excluded-count = ${{ steps.sitemap.outputs.excluded-count }}"
4849
4950 - name : Publish Documentation
50- if : github.repository == 'MFlowCode/MFC' && github.ref == 'refs/heads/master' && github.event_name == 'push '
51+ if : github.repository == 'MFlowCode/MFC' && github.ref == 'refs/heads/master' && github.event_name == 'cron '
5152 run : |
5253 set +e
5354 git ls-remote "${{ secrets.DOC_PUSH_URL }}" -q
You can’t perform that action at this time.
0 commit comments