Skip to content

Upload sphinx_airflow_theme package to published site#1427

Merged
potiuk merged 1 commit intomainfrom
upload-sphinx-theme-to-site
Mar 2, 2026
Merged

Upload sphinx_airflow_theme package to published site#1427
potiuk merged 1 commit intomainfrom
upload-sphinx-theme-to-site

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Mar 2, 2026

Summary

  • Move theme preparation (prepare-theme) and build (uv build) steps earlier in the CI pipeline — before the publish push instead of after
  • Copy the built wheel and sdist into dist/sphinx-airflow-theme/ so they are included when pushing to the publish branch
  • This makes the theme package available directly from the published site (e.g., https://airflow.apache.org/sphinx-airflow-theme/)

Test plan

  • Verify CI workflow passes — the reordered steps have no dependency on node (only Python/uv)
  • Confirm the sphinx-airflow-theme/ directory appears in the publish branch after a successful build
  • Verify the upload-artifact and GitHub release steps still work correctly (they remain after publish)

🤖 Generated with Claude Code

Move the theme preparation and build steps earlier in the CI pipeline
so the wheel and sdist are copied into dist/sphinx-airflow-theme/
before pushing to the publish branch. This makes the theme package
available directly from the published site.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@potiuk
Copy link
Member Author

potiuk commented Mar 2, 2026

This is in order to allow pulling the wheel file from airflow website - which should be far more stable than pulling release from GitHub.

@potiuk potiuk merged commit 49aaabe into main Mar 2, 2026
1 check passed
potiuk added a commit to apache/airflow that referenced this pull request Mar 2, 2026
The sphinx-airflow-theme has been pulled from github releases so
far but over last few days this was unstable - likely due to
rate limiting. We started uploading the theme to airflow.apache.org
in apache/airflow-site#1427 - so we can
now download the theme from there. This should be way more
stable because airlfow.apache.org uses fastly CDN to serve the
static files, also the cache is always invalidated when the site is
built, so we shoudl always get the latest version.
potiuk added a commit to apache/airflow that referenced this pull request Mar 2, 2026
The sphinx-airflow-theme has been pulled from github releases so
far but over last few days this was unstable - likely due to
rate limiting. We started uploading the theme to airflow.apache.org
in apache/airflow-site#1427 - so we can
now download the theme from there. This should be way more
stable because airlfow.apache.org uses fastly CDN to serve the
static files, also the cache is always invalidated when the site is
built, so we shoudl always get the latest version.
github-actions bot pushed a commit to apache/airflow that referenced this pull request Mar 2, 2026
…rg (#62710)

The sphinx-airflow-theme has been pulled from github releases so
far but over last few days this was unstable - likely due to
rate limiting. We started uploading the theme to airflow.apache.org
in apache/airflow-site#1427 - so we can
now download the theme from there. This should be way more
stable because airlfow.apache.org uses fastly CDN to serve the
static files, also the cache is always invalidated when the site is
built, so we shoudl always get the latest version.
(cherry picked from commit 61bf922)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
github-actions bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Mar 2, 2026
…rg (apache#62710)

The sphinx-airflow-theme has been pulled from github releases so
far but over last few days this was unstable - likely due to
rate limiting. We started uploading the theme to airflow.apache.org
in apache/airflow-site#1427 - so we can
now download the theme from there. This should be way more
stable because airlfow.apache.org uses fastly CDN to serve the
static files, also the cache is always invalidated when the site is
built, so we shoudl always get the latest version.
(cherry picked from commit 61bf922)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
vatsrahul1001 pushed a commit to apache/airflow that referenced this pull request Mar 3, 2026
…rg (#62710) (#62713)

The sphinx-airflow-theme has been pulled from github releases so
far but over last few days this was unstable - likely due to
rate limiting. We started uploading the theme to airflow.apache.org
in apache/airflow-site#1427 - so we can
now download the theme from there. This should be way more
stable because airlfow.apache.org uses fastly CDN to serve the
static files, also the cache is always invalidated when the site is
built, so we shoudl always get the latest version.
(cherry picked from commit 61bf922)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
vatsrahul1001 pushed a commit to apache/airflow that referenced this pull request Mar 4, 2026
…rg (#62710) (#62713)

The sphinx-airflow-theme has been pulled from github releases so
far but over last few days this was unstable - likely due to
rate limiting. We started uploading the theme to airflow.apache.org
in apache/airflow-site#1427 - so we can
now download the theme from there. This should be way more
stable because airlfow.apache.org uses fastly CDN to serve the
static files, also the cache is always invalidated when the site is
built, so we shoudl always get the latest version.
(cherry picked from commit 61bf922)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant