Skip to content

Synchronize CI with other reactive-python repos #266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Loading