diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index 75a0d88..448a61c 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -48,10 +48,10 @@ jobs: # Staging is the content-preview site: draft reads, noindex, no sitemap. # robots.ts and the root layout's metadata are evaluated at build time, # so these must be present here as well as in the Worker's vars. - CMS_PROVIDER: strapi + CMS_PROVIDER: payload CMS_MODE: draft DEPLOYMENT_ROLE: preview - PAYLOAD_URL: https://cms.epyc.in + PAYLOAD_URL: https://epyc-payload-cms.epyc.workers.dev PAYLOAD_PREVIEW_TOKEN: ${{ secrets.STAGING_PAYLOAD_PREVIEW_TOKEN }} CMS_REVALIDATION_SECRET: ${{ secrets.CMS_REVALIDATION_SECRET }} diff --git a/wrangler.jsonc b/wrangler.jsonc index 02ccd2a..bf4128b 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -63,10 +63,10 @@ "staging": { "name": "epyc-website-staging", "vars": { - "CMS_PROVIDER": "strapi", + "CMS_PROVIDER": "payload", "CMS_MODE": "draft", "DEPLOYMENT_ROLE": "preview", - "PAYLOAD_URL": "https://cms.epyc.in", + "PAYLOAD_URL": "https://epyc-payload-cms.epyc.workers.dev", }, "d1_databases": [ { @@ -109,4 +109,4 @@ }, }, }, -} \ No newline at end of file +}