Skip to content

Commit c5dcbea

Browse files
committed
2 parents 6ac8b93 + c6fa2c5 commit c5dcbea

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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

0 commit comments

Comments
 (0)