[meld/pages] Set up pages to also publish workers for the old URL



commit fc0a59c57c2ee2a31fe44feea81ad6758c22e8a4
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Aug 14 11:25:23 2022 +1000

    Set up pages to also publish workers for the old URL

 .gitlab-ci.yml | 1 +
 wrangler.toml  | 5 +++++
 2 files changed, 6 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3988e3c0..660727cf 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -26,5 +26,6 @@ cloudflareworkers:
   script:
     - npm install @cloudflare/wrangler
     - npx wrangler publish --env production
+    - npx wrangler publish --env oldproduction
   only:
     - pages
diff --git a/wrangler.toml b/wrangler.toml
index bec7503a..c3d85554 100644
--- a/wrangler.toml
+++ b/wrangler.toml
@@ -15,3 +15,8 @@ entry-point = "workers-site"
 workers_dev = false
 zone_id = "b64c0c8b024e2c6dd513e48a2b346d7b"
 route = "meld.app/*"
+
+[env.oldproduction]
+workers_dev = false
+zone_id = "a392a6a7338a2bf19fa1386a17e47a4f"
+route = "meldmerge.org/*"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]