Skip to content

Commit e4e7906

Browse files
committed
update astro.yml
1 parent 37bd708 commit e4e7906

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/astro.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ concurrency:
2525
cancel-in-progress: false
2626

2727
env:
28-
BUILD_PATH: "dist" # default value when not using subfolders
28+
BUILD_PATH: "astrowind" # default value when not using subfolders
2929
# BUILD_PATH: subfolder
3030

3131
jobs:
@@ -38,13 +38,7 @@ jobs:
3838
- name: Detect package manager
3939
id: detect-package-manager
4040
run: |
41-
if [ -f "${{ github.workspace }}/yarn.lock" ]; then
42-
echo "manager=yarn" >> $GITHUB_OUTPUT
43-
echo "command=install" >> $GITHUB_OUTPUT
44-
echo "runner=yarn" >> $GITHUB_OUTPUT
45-
echo "lockfile=yarn.lock" >> $GITHUB_OUTPUT
46-
exit 0
47-
elif [ -f "${{ github.workspace }}/package.json" ]; then
41+
if [ -f "${{ github.workspace }}/package.json" ]; then
4842
echo "manager=npm" >> $GITHUB_OUTPUT
4943
echo "command=ci" >> $GITHUB_OUTPUT
5044
echo "runner=npx --no-install" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)