Skip to content

Commit

Permalink
Update astro.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jaames authored Jun 11, 2024
1 parent 859adee commit 0d6bfdf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/astro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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 }}"
Expand Down

0 comments on commit 0d6bfdf

Please sign in to comment.