Skip to content

Commit

Permalink
Synchronize CI with other reactive-python repos
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger committed Dec 2, 2024
1 parent d663d12 commit 5cd41e2
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish-develop-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ jobs:
python-version: 3.x
- name: Install dependencies
run: pip install --upgrade pip hatch uv
- name: Publish Develop Docs
- name: Configure Git
run: |
git config user.name github-actions
git config user.email [email protected]
hatch run docs:deploy_develop
- name: Publish Develop Docs
run: hatch run docs:deploy_develop
concurrency:
group: publish-docs
5 changes: 3 additions & 2 deletions .github/workflows/publish-latest-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ jobs:
python-version: 3.x
- name: Install dependencies
run: pip install --upgrade pip hatch uv
- name: Publish ${{ github.event.release.name }} Docs
- name: Configure Git
run: |
git config user.name github-actions
git config user.email [email protected]
hatch run docs:deploy_latest ${{ github.ref_name }}
- name: Publish ${{ github.event.release.name }} Docs
run: hatch run docs:deploy_latest ${{ github.ref_name }}
concurrency:
group: publish-docs
3 changes: 0 additions & 3 deletions .github/workflows/publish-py.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

name: Publish Python

on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- cron: "0 0 * * *"

jobs:
python:
python-source:
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,6 @@ site_description: It's React, but in Python. Now with Django integration.
copyright: '&copy; <div id="year"></div> <script>document.getElementById("year").innerHTML = new Date().getFullYear();</script> Reactive Python and affiliates. <div class="legal-footer-right">This project has no affiliation to ReactJS or Meta Platforms, Inc.</div>'
repo_url: https://github.com/reactive-python/reactpy-django
site_url: https://reactive-python.github.io/reactpy-django
repo_name: ReactPy Django (GitHub)
repo_name: ReactPy Django
edit_uri: edit/main/docs/src
docs_dir: src
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ fix = ["cd src/js && bun install", "cd src/js && bun run format"]
#########################

[tool.ruff]
extend-exclude = ["*/migrations/*", ".venv/*", ".eggs/*", ".nox/*", "build/*"]
extend-exclude = ["*/migrations/*", ".venv/*", ".eggs/*", "build/*"]
line-length = 120
format.preview = true
lint.extend-ignore = [
Expand Down

0 comments on commit 5cd41e2

Please sign in to comment.