From 2b8cef9e9397420a0f64307bdd6a6e343214f2fd Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Mon, 16 Mar 2026 22:33:53 -0400 Subject: [PATCH] fix action --- .github/workflows/astro.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/astro.yml b/.github/workflows/astro.yml index e7ecfc2..1ff3fba 100644 --- a/.github/workflows/astro.yml +++ b/.github/workflows/astro.yml @@ -31,10 +31,17 @@ jobs: - name: Build with Astro run: deno run astro build - - name: Upload artifact - uses: actions/upload-pages-artifact@v4 + - name: Create artifact + run: | + tar \ + --dereference --hard-dereference \ + -cvf "$RUNNER_TEMP/artifact.tar" \ + -C ./dist . + + - uses: actions/upload-artifact@v4 with: - path: dist + name: github-pages + path: ${{ runner.temp }}/artifact.tar deploy: environment: @@ -46,4 +53,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4.0.5 + uses: actions/deploy-pages@v4.0.5 \ No newline at end of file