Skip to content

Commit

Permalink
Simplify build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-linaro committed May 13, 2024
1 parent 9e920fd commit 53af2ca
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions build-astro-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
# if we use "set -e"

function setup_vars(){
# The following vars are set from .github-env
# AWS_STATIC_SITE_URL
# JEKYLL_ENV
# SITE_URL
PR_NUMBER=$(jq -r ".pull_request.number" $GITHUB_EVENT_PATH)
STATUSES_URL=$(jq -r ".pull_request.statuses_url // empty" $GITHUB_EVENT_PATH)
}
Expand All @@ -23,9 +19,6 @@ function setup_testing(){
}

function build_site(){
source ~/.nvm/nvm.sh
nvm use 18
npm install --global yarn
yarn install
if [ -d "dist" ]; then rm -Rf dist; fi
yarn build
Expand Down

0 comments on commit 53af2ca

Please sign in to comment.