Skip to content

Commit

Permalink
Option change dir into website
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-linaro committed May 13, 2024
1 parent 53af2ca commit 1863613
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build-astro-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ function post_build_failed_preview(){
fi
}

cd "$GITHUB_WORKSPACE/website" || exit 1
cd "$GITHUB_WORKSPACE" || exit 1
# Some websites are pulling into a website folder
if [ -d "website" ]; then
cd website || exit 1
fi
setup_vars
setup_testing
build_site
Expand Down

0 comments on commit 1863613

Please sign in to comment.