File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
1
name : Generate API docs and publish to Github Pages
2
2
3
3
env :
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 "
6
6
7
7
on :
8
8
schedule :
37
37
- name : Generate all API Documentation
38
38
run : ./scripts/generate_api_docs.sh
39
39
40
+ - name : Copy Moodle Redirector
41
+ run : |
42
+ mkdir -p build/master
43
+ cp redirect.html build/master/index.html
44
+
40
45
- name : Deploy
41
46
uses : peaceiris/actions-gh-pages@v3
42
47
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