Skip to content

Commit c8b4ec0

Browse files
authored
Synchronize CI with other reactive-python repos (#266)
1 parent d663d12 commit c8b4ec0

File tree

6 files changed

+9
-10
lines changed

6 files changed

+9
-10
lines changed

.github/workflows/publish-develop-docs.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ jobs:
1919
python-version: 3.x
2020
- name: Install dependencies
2121
run: pip install --upgrade pip hatch uv
22-
- name: Publish Develop Docs
22+
- name: Configure Git
2323
run: |
2424
git config user.name github-actions
2525
git config user.email [email protected]
26-
hatch run docs:deploy_develop
26+
- name: Publish Develop Docs
27+
run: hatch run docs:deploy_develop
2728
concurrency:
2829
group: publish-docs

.github/workflows/publish-latest-docs.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ jobs:
1919
python-version: 3.x
2020
- name: Install dependencies
2121
run: pip install --upgrade pip hatch uv
22-
- name: Publish ${{ github.event.release.name }} Docs
22+
- name: Configure Git
2323
run: |
2424
git config user.name github-actions
2525
git config user.email [email protected]
26-
hatch run docs:deploy_latest ${{ github.ref_name }}
26+
- name: Publish ${{ github.event.release.name }} Docs
27+
run: hatch run docs:deploy_latest ${{ github.ref_name }}
2728
concurrency:
2829
group: publish-docs

.github/workflows/publish-py.yml renamed to .github/workflows/publish-python.yml

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# This workflows will upload a Python Package using Twine when a release is created
2-
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3-
41
name: Publish Python
52

63
on:

.github/workflows/test-python.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
- cron: "0 0 * * *"
1212

1313
jobs:
14-
python:
14+
python-source:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:

docs/mkdocs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,6 @@ site_description: It's React, but in Python. Now with Django integration.
124124
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>'
125125
repo_url: https://github.com/reactive-python/reactpy-django
126126
site_url: https://reactive-python.github.io/reactpy-django
127-
repo_name: ReactPy Django (GitHub)
127+
repo_name: ReactPy Django
128128
edit_uri: edit/main/docs/src
129129
docs_dir: src

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ fix = ["cd src/js && bun install", "cd src/js && bun run format"]
195195
#########################
196196

197197
[tool.ruff]
198-
extend-exclude = ["*/migrations/*", ".venv/*", ".eggs/*", ".nox/*", "build/*"]
198+
extend-exclude = ["*/migrations/*", ".venv/*", ".eggs/*", "build/*"]
199199
line-length = 120
200200
format.preview = true
201201
lint.extend-ignore = [

0 commit comments

Comments
 (0)