From f39fd041faf062cb709b166d58c5ee24c0973779 Mon Sep 17 00:00:00 2001 From: Fernando Arteaga Date: Sat, 3 Feb 2024 14:19:06 -0500 Subject: [PATCH] fix reusable action --- .github/workflows/publish.yaml | 5 +---- astro.config.mjs | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 832d00b..ff3347a 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -33,11 +33,8 @@ jobs: - name: "Install dependencies" run: pnpm install working-directory: ${{ env.BUILD_PATH }} - - run: | - echo origin: ${{ steps.pages.outputs.origin }} - echo base_path: ${{ steps.pages.outputs.base_path }} - name: "Build with Astro" - run: pnpm run build + run: pnpx astro build --site ${{ steps.pages.outputs.origin }} working-directory: ${{ env.BUILD_PATH }} - name: "Upload artifact" uses: actions/upload-pages-artifact@v3 diff --git a/astro.config.mjs b/astro.config.mjs index be5ff35..57513be 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -7,6 +7,6 @@ import icon from "astro-icon"; // https://astro.build/config export default defineConfig({ - site: 'https://fernandoarteaga.dev', + // site: 'https://fernandoarteaga.dev', integrations: [mdx(), sitemap(), icon(), tailwind()] }); \ No newline at end of file