Skip to content

Commit 668402f

Browse files
authored
Merge pull request #50 from openml/add-workflow
Replace CircleCI deployment with GHA deployment
2 parents 745d239 + ce54260 commit 668402f

File tree

3 files changed

+37
-28
lines changed

3 files changed

+37
-28
lines changed

.circleci/config.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/deploy-docs.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Deploy Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
deploy:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Set up Python
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: '3.12'
23+
24+
- name: Install uv
25+
run: python -m pip install uv
26+
27+
- name: Install dependencies
28+
run: uv pip install --system -r requirements.txt
29+
30+
- name: Configure Git
31+
run: |
32+
git config user.name "github-actions[bot]"
33+
git config user.email "github-actions[bot]@users.noreply.github.com"
34+
35+
- name: Deploy to GitHub Pages
36+
run: mkdocs gh-deploy --force

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ openml/*
33
docs/example/*
44
docs/python/*
55
temp_dir/*
6+
.venv/*
67
.cache/*
78
.DS_store

0 commit comments

Comments
 (0)