File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ # IMPORTANT: USE THIS ACTION ONLY TO FIX OLD RELEASE
2+ # BEFORE RUNNING YOU MUST UPDATE LINE 30 -> mike deploy --push --update-aliases 2024-12 stable WITH THE CORRECT ALIAS NAME (I.E 2024-12)
3+ name : ONE Record release fix
4+ on :
5+ workflow_dispatch :
6+
7+ permissions :
8+ contents : write
9+ jobs :
10+ deploy :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v3
14+ with :
15+ fetch-depth : 0
16+ - uses : actions/setup-python@v4
17+ with :
18+ python-version : 3.10.6
19+ - name : Install Dependencies
20+ run : |
21+ pip install mkdocs-material
22+ pip install mike
23+ - name : Setup Docs Deploy
24+ run : |
25+ git config --global user.name "Docs Deploy"
26+ git config --global user.email "docs.deploy@example.co.uk"
27+ - name : Build Docs Website
28+ run : |
29+ make copy-assets
30+ mike deploy --push --update-aliases 2024-12 stable
31+ mike set-default --push stable
32+ working-directory : ./Documentation_website
You can’t perform that action at this time.
0 commit comments