Skip to content

Commit

Permalink
minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
msridhar committed Jul 15, 2023
1 parent 828a29d commit 006c624
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/gcloud_ssh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ PROJECT_ID="ucr-ursa-major-sridharan-lab"
ZONE="us-central1-a"
USER="root"
INSTANCE="nullway-jmh"

gcloud compute ssh --project=$PROJECT_ID --zone=$ZONE $USER@$INSTANCE --command="$1"
2 changes: 1 addition & 1 deletion .github/workflows/get_repo_details.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ PR_DETAILS=$(curl -s -H "Authorization: token $GH_TOKEN" "https://api.github.com
REPO_FULL_NAME=$(echo "$PR_DETAILS" | jq -r .head.repo.full_name)
BRANCH_NAME=$(echo "$PR_DETAILS" | jq -r .head.ref)

# Export the REPO_FULL_NAME and BRANCH_NAME variables
# Export vars to GITHUB_ENV so they can be used by later scripts
echo "REPO_FULL_NAME=$REPO_FULL_NAME" >> $GITHUB_ENV
echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV

0 comments on commit 006c624

Please sign in to comment.