Skip to content

Commit 47fd301

Browse files
Update docs.yaml
1 parent a89f366 commit 47fd301

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

‎.github/workflows/docs.yaml‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,38 +9,38 @@ jobs:
99
docs:
1010
name: Build and Deploy Docs
1111
runs-on: ubuntu-latest
12-
12+
1313
steps:
1414
- name: Checkout code
1515
uses: actions/checkout@v4
16-
16+
1717
- name: Set up Python
1818
uses: actions/setup-python@v5
1919
with:
2020
python-version: "3.12"
21-
21+
2222
- name: Install dependencies
2323
run: |
2424
pip install uv
2525
uv sync
26-
26+
2727
- name: Build docs
2828
run: |
2929
make build-docs
30-
31-
# (Optional but recommended) Ensure AWS CLI is available
32-
- name: Install AWS CLI
30+
31+
- name: Install AWS CLI v2
3332
run: |
34-
sudo apt-get update
35-
sudo apt-get install -y awscli
36-
33+
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
34+
unzip awscliv2.zip
35+
sudo ./aws/install
36+
3737
- name: Configure AWS CLI for Cloudflare R2
3838
uses: aws-actions/configure-aws-credentials@v4
3939
with:
4040
aws-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }}
4141
aws-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }}
4242
aws-region: auto
43-
43+
4444
- name: Upload docs to Cloudflare R2
4545
run: |
4646
aws s3 sync docs/_build/html s3://${{ vars.R2_BUCKET_NAME }} \

0 commit comments

Comments
 (0)