We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01c7485 commit ebe7b19Copy full SHA for ebe7b19
scripts/deploy-pr.sh
@@ -6,7 +6,7 @@ set -euox pipefail
6
branchName=$(gh pr view --json headRefName | jq -r .headRefName)
7
8
if [[ "$branchName" == "main" ]]; then
9
- gh workflow run pr-deploy.yaml --ref $branchName -f pr_number=$(git rev-parse --short HEAD)
+ gh workflow run pr-deploy.yaml --ref $branchName -f pr_number=$(git rev-parse --short HEAD)
10
else
11
- gh workflow run pr-deploy.yaml --ref $branchName -f pr_number=$(gh pr view --json number | jq -r .number)
+ gh workflow run pr-deploy.yaml --ref $branchName -f pr_number=$(gh pr view --json number | jq -r .number)
12
fi
0 commit comments