Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

Commit

Permalink
Use HTTPS url to the remote server instead of local origin reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Aug 13, 2021
1 parent 476f0ea commit 4f131eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vercel-ignore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
function get_remote_branch_hash () {
# get hash of a remote branch, grab the first word (the hash)
# and format it with rev-parse to get a short hash that is comparable with VERCEL_GIT_COMMIT_SHA
local result="$(git rev-parse --short `git ls-remote origin main | awk '{ print $1 }'`)"
local result="$(git rev-parse --short `git ls-remote https://github.com/statelyai/xstate-viz.git main | awk '{ print $1 }'`)"
echo "$result"
}

Expand Down

0 comments on commit 4f131eb

Please sign in to comment.