From: Marcelo Trylesinski Date: Thu, 18 Sep 2025 20:44:57 +0000 (+0200) Subject: docs: add docs to starlette.dev (#3021) X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=adc9db899fbd5e476760624e2635a48cad6d2e4d;p=thirdparty%2Fstarlette.git docs: add docs to starlette.dev (#3021) --- diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c41fb46f..db2b9849 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -90,3 +90,33 @@ jobs: - name: Publish documentation 📚 to GitHub Pages run: uv run mkdocs gh-deploy --force + + docs-cloudflare: + runs-on: ubuntu-latest + needs: build + + environment: + name: cloudflare + url: https://starlette.dev + + steps: + - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 + - run: npm install + working-directory: docs-site + + - name: Download artifacts + uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 + with: + name: documentation + path: site/ + + - uses: cloudflare/wrangler-action@da0e0dfe58b7a431659754fdf3f186c529afbe65 # v3.14.1 + with: + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} + workingDirectory: docs-site + command: > + deploy + --var GIT_COMMIT_SHA:${{ github.sha }} + --var GIT_BRANCH:main