File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Generate API docs and publish to Github Pages
22
33env :
4- BRANCHLIST : " MOODLE_39_STABLE MOODLE_311_STABLE MOODLE_400_STABLE MOODLE_401_STABLE MOODLE_402_STABLE MOODLE_403_STABLE master "
5- VERSIONLIST : " 3.9 3.11 4.00 4.1 4.2 4.3 master "
4+ BRANCHLIST : " MOODLE_39_STABLE MOODLE_311_STABLE MOODLE_400_STABLE MOODLE_401_STABLE MOODLE_402_STABLE MOODLE_403_STABLE main "
5+ VERSIONLIST : " 3.9 3.11 4.00 4.1 4.2 4.3 main "
66
77on :
88 schedule :
3737 - name : Generate all API Documentation
3838 run : ./scripts/generate_api_docs.sh
3939
40+ - name : Copy Moodle Redirector
41+ run : |
42+ mkdir -p build/master
43+ cp redirect.html build/master/index.html
44+
4045 - name : Deploy
4146 uses : peaceiris/actions-gh-pages@v3
4247 with :
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < meta charset ="utf-8 ">
3+ < title > Redirecting to Documentation for main branch</ title >
4+ < meta http-equiv ="refresh " content ="0; URL=../main/ ">
5+ < link rel ="canonical " href ="../main/ ">
You can’t perform that action at this time.
0 commit comments