From 00a2138b0eecccaeb9f88a899b80432e8d94c690 Mon Sep 17 00:00:00 2001 From: Luiz Ferraz Date: Fri, 29 Mar 2024 18:11:09 -0300 Subject: [PATCH] feat: Deploy other examples to Cloudflare --- .github/workflows/example-deploys.yml | 2 ++ examples/custom-routing/astro.config.mjs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/example-deploys.yml b/.github/workflows/example-deploys.yml index e81cc661..8ed6d4f9 100644 --- a/.github/workflows/example-deploys.yml +++ b/.github/workflows/example-deploys.yml @@ -38,6 +38,8 @@ jobs: matrix: example: - sitemap-ext + - custom-routing + - inline-mod-aik steps: - name: Checkout uses: actions/checkout@v4 diff --git a/examples/custom-routing/astro.config.mjs b/examples/custom-routing/astro.config.mjs index efede8a3..a7dcf023 100644 --- a/examples/custom-routing/astro.config.mjs +++ b/examples/custom-routing/astro.config.mjs @@ -5,7 +5,7 @@ import { strictCustomRouting } from '@inox-tools/custom-routing'; // https://astro.build/config export default defineConfig({ - site: 'https://example.com', + site: process.env.DEPLOY_SITE ?? 'https://example.com', integrations: [ mdx(), sitemap(),