diff --git a/.github/workflows/astro.yml b/.github/workflows/astro.yml index 67f72dc..ae4cf4b 100644 --- a/.github/workflows/astro.yml +++ b/.github/workflows/astro.yml @@ -7,7 +7,7 @@ name: Deploy Astro site to Pages on: # Runs on pushes targeting the default branch push: - branches: ["master", "2024-cleanup"] + branches: ["master"] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -25,7 +25,7 @@ concurrency: cancel-in-progress: false env: - BUILD_PATH: "." # default value when not using subfolders + BUILD_PATH: "www" # BUILD_PATH: subfolder jobs: @@ -68,6 +68,8 @@ jobs: working-directory: ${{ env.BUILD_PATH }} - name: Build with Astro run: | + npm run build + npm run docs:copy ${{ steps.detect-package-manager.outputs.runner }} astro build \ --site "${{ steps.pages.outputs.origin }}" \ --base "${{ steps.pages.outputs.base_path }}"