From c4608365f26e3a710c694ca8f4203813b3bf3c9b Mon Sep 17 00:00:00 2001 From: wass Date: Sun, 21 Apr 2024 10:16:54 +0200 Subject: [PATCH] used a new forked action --- .github/workflows/deploy.yml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 05ce696..9fe0a06 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,16 +21,12 @@ jobs: - name: Checkout your repository using git uses: actions/checkout@v4 - name: Install, build, and upload your site - uses: withastro/action@v2 + uses: MicroWebStacks/astro_action with: path: ./website - node-version: 20 - package-manager: pnpm@latest - - name: Upload Artifacts - uses: actions/upload-artifact@v2 - with: - name: website-artifact - path: ./cache/web + out: ./cache/web + node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional) + package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional) deploy: needs: build @@ -39,12 +35,6 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} steps: - - name: Checkout Repository - uses: actions/checkout@v4 - - name: Download Artifacts - uses: actions/download-artifact@v2 - with: - name: website-artifact - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4