Skip to content

Commit 10026dc

Browse files
committed
[docs] add deploy workflow
1 parent bcb67fb commit 10026dc

File tree

2 files changed

+48
-1
lines changed

2 files changed

+48
-1
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Deploy Docs
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
21+
- name: Set up Python
22+
uses: actions/setup-python@v4
23+
with:
24+
python-version: '3.11'
25+
26+
- name: Install dependencies
27+
run: |
28+
pip install -r requirements.txt
29+
30+
- name: Build HTML
31+
run: |
32+
make html
33+
34+
- uses: actions/upload-pages-artifact@v3
35+
with:
36+
path: _build/html
37+
38+
deploy:
39+
needs: build
40+
runs-on: ubuntu-latest
41+
environment:
42+
name: github-pages
43+
url: ${{ steps.deployment.outputs.page_url }}
44+
steps:
45+
- name: Deploy Docs
46+
id: deployment
47+
uses: actions/deploy-pages@v4

source/en/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
# -- Project information -----------------------------------------------------
2727

28-
project = 'Intern Robotics Infrastructure'
28+
project = 'Intern Robotics Documentation'
2929
copyright = '2025, Intern Robotics'
3030
author = 'Intern Robotics'
3131

0 commit comments

Comments
 (0)