Skip to content

Commit b96b18b

Browse files
committed
Rename g3doc->docs; fix bad links; add bazel-* to .gitignore;
update python; run on push to master
1 parent 260a824 commit b96b18b

16 files changed

Lines changed: 16 additions & 19 deletions

File tree

.github/workflows/cd-docs.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ name: deploy-docs
22
on:
33
workflow_dispatch:
44
push:
5-
# Uncomment these lines before merge
6-
# branches:
7-
# - master
5+
branches:
6+
- master
87
pull_request:
98
permissions:
109
contents: write
@@ -15,16 +14,10 @@ jobs:
1514
- name: Checkout repo
1615
uses: actions/checkout@v4
1716

18-
- name: Configure Git Credentials
19-
run: |
20-
git config user.name github-actions[bot]
21-
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
22-
if: (github.event_name != 'pull_request')
23-
24-
- name: Set up Python 3.10
17+
- name: Set up Python 3.12
2518
uses: actions/setup-python@v5
2619
with:
27-
python-version: '3.10'
20+
python-version: '3.12'
2821
cache: 'pip'
2922
cache-dependency-path: |
3023
setup.py
@@ -44,8 +37,11 @@ jobs:
4437
run: pip install -r requirements-docs.txt
4538

4639
- name: Deploy to GitHub Pages
47-
run: mkdocs gh-deploy --force
4840
if: (github.event_name != 'pull_request')
41+
run: |
42+
git config user.name github-actions[bot]
43+
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
44+
mkdocs gh-deploy --force
4945
5046
- name: Build docs to check for errors
5147
run: mkdocs build --verbose

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,4 +159,7 @@ cython_debug/
159159
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
160160
# and can be added to the global gitignore or merged into this file. For a more nuclear
161161
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
162-
#.idea/
162+
#.idea/
163+
164+
# Bazel build files
165+
bazel-*
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)