Skip to content

Commit

Permalink
[MAINT] add deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Feb 21, 2025
1 parent a6aef28 commit d2b2f7c
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 11 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Publish docs via GitHub Pages
on:
push:
branches:
- main

jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONFIG_FILE: mkdocs.yml
REQUIREMENTS: requirements.txt
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ repos:
- id: isort

- repo: https://github.com/PyCQA/flake8
rev: 7.1.1
rev: 7.1.2
hooks:
- id: flake8
args: [--config, .flake8, --verbose, tools]
Expand Down
10 changes: 0 additions & 10 deletions tmp.py

This file was deleted.

0 comments on commit d2b2f7c

Please sign in to comment.