diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml new file mode 100644 index 0000000..705b366 --- /dev/null +++ b/.github/workflows/preview.yml @@ -0,0 +1,26 @@ +name: Preview Deploy + +on: + workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + + - uses: actions/setup-node@v4 + with: + node-version: 22 + cache: npm + + - run: npm ci + + - run: npm run cf:build + + - run: npm run cf:deploy + env: + CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} + CLOUDFLARE_ACCOUNT_ID: ${{ vars.CLOUDFLARE_ACCOUNT_ID }} diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro index e87ce8a..0d38f8b 100644 --- a/src/layouts/Base.astro +++ b/src/layouts/Base.astro @@ -45,6 +45,15 @@ const ogImageURL = new URL(ogImage, Astro.site); + + + +