diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3b23c8f9..5347e291 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -47,31 +47,20 @@ jobs: restore-keys: | poetry-pip-${{ runner.os }}- - # 6. Install project dependencies using Poetry - name: Install Dependencies with Poetry run: poetry install --no-interaction --no-ansi - # 7. Install additional requirements for documentation - - name: Install Documentation Requirements - run: | - cd docs - pip install -r requirements.txt - - # 8. Build the documentation - name: Build Documentation run: | cd docs make html - # Adjust the build command if you're using a different tool - # 9. Install AWS CLI (required for S3-compatible APIs like Cloudflare R2) - name: Install AWS CLI run: | curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip sudo ./aws/install - # 10. Configure AWS CLI for Cloudflare R2 - name: Configure AWS CLI for Cloudflare R2 run: | aws configure set aws_access_key_id ${{ secrets.CF_R2_ACCESS_KEY_ID }} @@ -79,7 +68,6 @@ jobs: aws configure set default.region us-east-1 # R2 uses us-east-1 by default aws configure set default.output json - # 11. Sync the built documentation to the Cloudflare R2 bucket - name: Sync to Cloudflare R2 env: CF_R2_ENDPOINT: ${{ secrets.CF_R2_ENDPOINT }}