From: Mike Bayer Date: Mon, 24 Apr 2023 17:20:03 +0000 (-0400) Subject: try to make a real site build + zip build X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=817ad37be1c5235d6ccefec81267e2e0bbbfd36d;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git try to make a real site build + zip build Change-Id: Ide8e15bacb823b5f7a9aae21cd0b871294556b7d --- diff --git a/.github/workflows/build-docs.yaml b/.github/workflows/build-docs.yaml index 79abb40acf..7fd68544cb 100644 --- a/.github/workflows/build-docs.yaml +++ b/.github/workflows/build-docs.yaml @@ -32,20 +32,39 @@ jobs: run: | python -m pip install --upgrade pip pip install --requirement doc/build/requirements.txt - pip install -U sphinx>6 + pip install -U "sphinx>=6.2,<6.3" pip list - - name: Build docs + - name: Build site docs run: | cd doc/build - make html + READTHEDOCS=True make -e BUILDDIR=site_output html - - name: Create artifact + - name: Build site zip docs run: | - tar czf docs.tgz doc/build/output/html + cd doc/build + make -e BUILDDIR=zip_output html + + - name: Create site docs artifact + run: | + cd doc/build/site_output/html + tar czf sqlalchemy_site_docs.tgz . + mv sqlalchemy_site_docs.tgz / + + - name: Create site zipfile artifact + run: | + cd doc/build/zip_output/html + zip -r sqlalchemy_zip_docs.zip * + mv sqlalchemy_zip_docs.zip / + + - name: Upload site artifact + uses: actions/upload-artifact@v3 + with: + name: site-docs-archive + path: sqlalchemy_site_docs.tgz - - name: Upload artifact + - name: Upload zip artifact uses: actions/upload-artifact@v3 with: - name: docs-archive - path: docs.tgz + name: zip-docs-archive + path: sqlalchemy_zip_docs.zip