Skip to content

Commit 441fac1

Browse files
Merge pull request #189 from Doist/docs-deploy
2 parents 27f3aee + 2e3f05d commit 441fac1

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

.github/workflows/docs.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Publish docs
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
build-and-publish-docs:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Set up Python
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version-file: pyproject.toml
22+
23+
- name: Set up uv
24+
uses: astral-sh/setup-uv@v5
25+
with:
26+
version: 0.6.11
27+
28+
- name: Install project
29+
run: uv sync --group docs
30+
31+
- name: Deploy to GitHub Pages
32+
run: uv run mkdocs gh-deploy

.github/workflows/ci.yml .github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: tests
1+
name: Run tests
22

33
on: [pull_request, workflow_dispatch]
44

55
jobs:
6-
build-test:
6+
test:
77
runs-on: ubuntu-latest
88
timeout-minutes: 60
99
steps:

0 commit comments

Comments
 (0)