File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 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 :
You can’t perform that action at this time.
0 commit comments