Skip to content

Commit

Permalink
Test: Apply changes to SSH config and verify
Browse files Browse the repository at this point in the history
  • Loading branch information
lola831 authored Jan 16, 2025
1 parent 79dd756 commit b6eb5df
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/run-simulators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,10 @@ jobs:
HOSTNAME: ${{ secrets.SSH_HOST }}
USER_NAME: ${{ secrets.SSH_USERNAME }}
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
GH_WORKFLOW_REF: ${{ github.ref }}
GH_REF: ${{ github.ref }}
run: |
export GH_REF="$GH_WORKFLOW_REF"
echo "GH REF: $GH_REF"
echo "$PRIVATE_KEY" > private_key && chmod 600 private_key
ssh -o StrictHostKeyChecking=no -o SendEnv=GH_REF -i private_key ${USER_NAME}@${HOSTNAME} '
echo "GH REF inside SSH: $GH_REF"
cd /home/ubuntu/actions/ &&
rm -rf Scenic &&
git clone --branch $(basename "$GH_REF") --single-branch https://$GH_ACCESS_TOKEN@github.com/BerkeleyLearnVerify/Scenic.git &&
Expand Down

0 comments on commit b6eb5df

Please sign in to comment.