File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 90
90
91
91
- name : Publish documentation 📚 to GitHub Pages
92
92
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
You can’t perform that action at this time.
0 commit comments