Skip to content

Commit adc9db8

Browse files
authored
docs: add docs to starlette.dev (#3021)
1 parent 61a0ba5 commit adc9db8

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/publish.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,33 @@ jobs:
9090

9191
- name: Publish documentation 📚 to GitHub Pages
9292
run: uv run mkdocs gh-deploy --force
93+
94+
docs-cloudflare:
95+
runs-on: ubuntu-latest
96+
needs: build
97+
98+
environment:
99+
name: cloudflare
100+
url: https://starlette.dev
101+
102+
steps:
103+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
104+
105+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
106+
- run: npm install
107+
working-directory: docs-site
108+
109+
- name: Download artifacts
110+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
111+
with:
112+
name: documentation
113+
path: site/
114+
115+
- uses: cloudflare/wrangler-action@da0e0dfe58b7a431659754fdf3f186c529afbe65 # v3.14.1
116+
with:
117+
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
118+
workingDirectory: docs-site
119+
command: >
120+
deploy
121+
--var GIT_COMMIT_SHA:${{ github.sha }}
122+
--var GIT_BRANCH:main

0 commit comments

Comments
 (0)