Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/publish-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,19 @@ jobs:
npx tsx bin/generate-index-md.ts
cd distmd && zip -r markdown.zip .
npx wrangler r2 object put vendored-markdown/markdown.zip --file=markdown.zip --remote
rm markdown.zip
- name: Upload vendored Markdown files to ZT DevDocs bucket
env:
AWS_ACCESS_KEY_ID: ${{ secrets.ZT_DEVDOCS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.ZT_DEVDOCS_SECRET_ACCESS_KEY }}
run: |
sudo -v ; curl https://rclone.org/install.sh | sudo bash
rclone sync \
--s3-env-auth \
--s3-provider="Cloudflare" \
--s3-endpoint="https://e76c849bd111ee7d3006b6625713991e.r2.cloudflarestorage.com" \
distmd \
:s3:/zt-dashboard-dev-docs
- uses: actions/cache/save@v4
if: always()
with:
Expand Down