Skip to content
Merged
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
17 changes: 8 additions & 9 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:

- name: Install Node.js dependencies
working-directory: doc/
run: ls -lah && npm ci
run: npm ci
- name: Build with Hugo
working-directory: doc/
env:
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-

- name: 'Setup Maven'
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
Expand Down Expand Up @@ -181,8 +181,8 @@ jobs:
with:
python-version: 3.11

- name: Install tox
run: python3 -m pip install tox
- name: Setup uv
uses: astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867

- name: Build docs
working-directory: lang/py
Expand Down Expand Up @@ -215,7 +215,7 @@ jobs:
with:
name: api-rust
path: target/doc


push-website:
name: Push website
Expand All @@ -231,7 +231,7 @@ jobs:
run: |
set -x
sudo apt-get update -q
sudo apt-get install -q -y subversion
sudo apt-get install -q -y subversion

- name: Download website
uses: actions/download-artifact@v7
Expand Down Expand Up @@ -288,7 +288,7 @@ jobs:
mv api-java/* $WEBSITE_API/java/
mv api-python/* $WEBSITE_API/py/
mv api-rust/* $WEBSITE_API/rust/
rmdir api-c api-c++ api-csharp api-python api-rust api-java
rmdir api-c api-c++ api-csharp api-python api-rust api-java

- name: Checkout old docs versions from Subversion
run: |
Expand All @@ -310,7 +310,7 @@ jobs:

git rm -rf *

mv ${{ runner.temp }}/website/* .
mv ${{ runner.temp }}/website/* .
echo "publish:
whoami: asf-site
" > .asf.yaml
Expand All @@ -320,4 +320,3 @@ jobs:
git switch asf-site
git reset --hard asf-site-staging
git push origin asf-site --force