ci: Revalidate zed.dev after release (#59422)

Updates CI to use the revalidate mechanism for updating zed.dev post
release, instead of doing a full re-deploy.

Release Notes:

- N/A
This commit is contained in:
Gaauwe Rombouts authored and GitHub committed 2026-06-16 14:59:26 +00:00
1 parent 36a3a2a784
commit a851320e6d
4 files changed
+10 -51

No files matched your search

+3 -7
View File
@@ -29,14 +29,10 @@ jobs:
steps:
- name: after_release::rebuild_releases_page::refresh_cloud_releases
run: curl -fX POST "https://cloud.zed.dev/releases/refresh?expect_tag=$TAG_NAME"
- name: steps::checkout_repo
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
with:
clean: false
- name: after_release::rebuild_releases_page::redeploy_zed_dev
run: ./script/redeploy-vercel
- name: after_release::rebuild_releases_page::revalidate_zed_dev
run: 'curl -fX GET "https://zed.dev/api/revalidate?tag=releases" -H "Authorization: Bearer $ZED_DEV_REVALIDATE_TOKEN"'
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
ZED_DEV_REVALIDATE_TOKEN: ${{ secrets.ZED_DEV_REVALIDATE_TOKEN }}
deploy_docs:
if: (github.repository_owner == 'zed-industries' || github.repository_owner == 'zed-extensions')
permissions: