Skip to content

Commit

Permalink
Add export for GH_REF to pass via SSH
Browse files Browse the repository at this point in the history
  • Loading branch information
lola831 authored Jan 16, 2025
1 parent b6eb5df commit 457b434
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/run-simulators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
GH_REF: ${{ github.ref }}
run: |
export 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} '
cd /home/ubuntu/actions/ &&
Expand Down

0 comments on commit 457b434

Please sign in to comment.