Skip to content

Commit 1e103da

Browse files
committed
Merge branch 'production' into pedro/PCX-17609-new-nav-q2-update-settings
2 parents 8bdf34c + 705e1fa commit 1e103da

File tree

90 files changed

+1674
-1179
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+1674
-1179
lines changed

.github/workflows/publish-production.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,19 @@ jobs:
4040
npx tsx bin/generate-index-md.ts
4141
cd distmd && zip -r markdown.zip .
4242
npx wrangler r2 object put vendored-markdown/markdown.zip --file=markdown.zip --remote
43+
rm markdown.zip
44+
- name: Upload vendored Markdown files to ZT DevDocs bucket
45+
env:
46+
AWS_ACCESS_KEY_ID: ${{ secrets.ZT_DEVDOCS_ACCESS_KEY_ID }}
47+
AWS_SECRET_ACCESS_KEY: ${{ secrets.ZT_DEVDOCS_SECRET_ACCESS_KEY }}
48+
run: |
49+
sudo -v ; curl https://rclone.org/install.sh | sudo bash
50+
rclone sync \
51+
--s3-env-auth \
52+
--s3-provider="Cloudflare" \
53+
--s3-endpoint="https://e76c849bd111ee7d3006b6625713991e.r2.cloudflarestorage.com" \
54+
distmd \
55+
:s3:/zt-dashboard-dev-docs
4356
- uses: actions/cache/save@v4
4457
if: always()
4558
with:

astro.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ export default defineConfig({
161161
headingLinks: false,
162162
},
163163
routeMiddleware: "./src/plugins/starlight/route-data.ts",
164+
disable404Route: true,
164165
}),
165166
liveCode({}),
166167
icon(),

0 commit comments

Comments
 (0)