Skip to content

Commit

Permalink
v1.18: Publish Agave docs (backport of #2887) (#2921)
Browse files Browse the repository at this point in the history
Publish Agave docs (#2887)

* Add publish-docs.sh to build.sh

* Add debugging echos

* Fake being in CI

* Update vercel doc project names

* Remove debugging echos. Remove CI var.

(cherry picked from commit 383b49f)

Co-authored-by: Will Hickey <[email protected]>
  • Loading branch information
mergify[bot] and willhickey authored Sep 19, 2024
1 parent 8c42fa8 commit 6b04e88
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/publish-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ fi
CONFIG_FILE=vercel.json

if [[ -n $CI_TAG ]]; then
PROJECT_NAME=docs-solana-com
PROJECT_NAME=docs-anza-xyz
else
eval "$(../ci/channel-info.sh)"
case $CHANNEL in
edge)
PROJECT_NAME=edge-docs-solana-com
PROJECT_NAME=edge-docs-anza-xyz
;;
beta)
PROJECT_NAME=beta-docs-solana-com
PROJECT_NAME=beta-docs-anza-xyz
;;
*)
PROJECT_NAME=docs
Expand Down Expand Up @@ -151,4 +151,4 @@ EOF
echo "VERCEL_TOKEN is undefined. Needed for Vercel authentication."
exit 1
}
vercel deploy . --local-config="$CONFIG_FILE" --confirm --token "$VERCEL_TOKEN" --prod
vercel deploy . --local-config="$CONFIG_FILE" --yes --token "$VERCEL_TOKEN" --prod

0 comments on commit 6b04e88

Please sign in to comment.