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