File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-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 :
48
59jobs :
610 docs :
711 name : Build & Publish
812 runs-on : ubuntu-latest
913
10- concurrency :
11- group : docs-publish
12- cancel-in-progress : true
13-
1414 steps :
1515 - uses : actions/checkout@v4
1616
4747 echo "excluded-count = ${{ steps.sitemap.outputs.excluded-count }}"
4848
4949 - name : Publish Documentation
50- if : github.repository == 'MFlowCode/MFC' && github.ref == 'refs/heads/master' && github.event_name == 'push '
50+ if : github.repository == 'MFlowCode/MFC' && github.ref == 'refs/heads/master' && github.event_name == 'cron '
5151 run : |
5252 set +e
5353 git ls-remote "${{ secrets.DOC_PUSH_URL }}" -q
You can’t perform that action at this time.
0 commit comments