This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site.git
The following commit(s) were added to refs/heads/main by this push:
new 49aaabe313 Upload sphinx_airflow_theme package to published site
(#1427)
49aaabe313 is described below
commit 49aaabe313d75d7c94de9feff9ebd2f683459947
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Mar 2 15:15:51 2026 +0100
Upload sphinx_airflow_theme package to published site (#1427)
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 <[email protected]>
---
.github/workflows/build.yml | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 25e2685bf3..e8738de6b0 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -158,6 +158,17 @@ jobs:
run: |
rm -rf node_modules
sudo rm -rf "$AGENT_TOOLSDIRECTORY/node"
+ - name: ๐ง Copy files from site to theme
+ run: |
+ ./site.sh prepare-theme
+ - name: ๐ง Prepare sphinx_airflow_theme package ๏ธ
+ working-directory: sphinx_airflow_theme
+ run: |
+ uv build
+ - name: ๐ฆ Copy sphinx_airflow_theme package to dist
+ run: |
+ mkdir -p dist/sphinx-airflow-theme
+ cp sphinx_airflow_theme/dist/* dist/sphinx-airflow-theme/
- name: ๐Refresh PMC/COMMITTERS profiles
env:
PMC_COMMITTERS_FILES:
landing-pages/site/data/committers.json,landing-pages/site/data/pmc.json
@@ -178,13 +189,6 @@ jobs:
git commit --no-edit -m "Docs updated via ${GITHUB_REF}:${{
github.sha }}" --allow-empty
echo "Running git push to ${PUBLISH_BRANCH} branch"
git push origin ${PUBLISH_BRANCH}
- - name: ๐ง Copy files from site to theme
- run: |
- ./site.sh prepare-theme
- - name: ๐ง Prepare sphinx_airflow_theme package ๏ธ
- working-directory: sphinx_airflow_theme
- run: |
- uv build
- name: ๐ Upload sphinx_airflow_theme package as artifact
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
# v4.6.2
with: