From d5836b466f8f71d47fcd02af82b8157d2a8ee0fb Mon Sep 17 00:00:00 2001 From: milan-codes Date: Tue, 25 Feb 2025 11:46:48 +0100 Subject: [PATCH 1/2] fix: add site to astro config --- astro.config.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/astro.config.mjs b/astro.config.mjs index dac80bb..836a0e7 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -9,6 +9,7 @@ import { remarkReadingTime } from "./remark-reading-time.mjs"; // https://astro.build/config export default defineConfig({ + site: "https://milan-codes.github.io", vite: { plugins: [tailwindcss()], }, From b0d1afacc549d558f88f5d775eb8bdf61a6d9b92 Mon Sep 17 00:00:00 2001 From: milan-codes Date: Tue, 25 Feb 2025 11:47:30 +0100 Subject: [PATCH 2/2] fix: update actions to deploy site --- .github/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e6dcad4..1fa73a4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,9 +18,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout your repository using git - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install, build, and upload your site - uses: withastro/action@v0 + uses: withastro/action@v3 deploy: needs: build @@ -31,4 +31,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4