Skip to content

Commit 4675e6d

Browse files
committed
Improvements to publishing script
1 parent 28aff43 commit 4675e6d

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

tools/upload-preview

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ prjdir="$(cd "$dir/.." && pwd)"
1010

1111
WRANGLER_SCRIPT="${prjdir}/node_modules/wrangler/bin/wrangler.js"
1212

13-
make
14-
npm use
13+
CI=true make
14+
[[ -s ~/.nvm/nvm.sh ]] && source ~/.nvm/nvm.sh && nvm use
1515
[[ -f "${WRANGLER_SCRIPT}" ]] || npm install --save-dev wrangler
1616

17-
"${WRANGLER_SCRIPT}" pages deploy build \
18-
--project-name psycopg-org-website --branch new-homepage
17+
"${WRANGLER_SCRIPT}" pages deploy build --project-name psycopg-org-website

0 commit comments

Comments
 (0)