Skip to content

Commit

Permalink
ci: hate github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrone-sudeium committed Jan 4, 2024
1 parent b90c52a commit 5b27caa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,14 @@ jobs:
SSH_KEY: ${{ secrets.CHARON_SSH_KEY }}
run: |
mkdir -p ~/.ssh
echo 1
MACHINE_IP="$(tailscale ip -4 charon)"
echo 2
ssh-keyscan -t ed25519 $MACHINE_IP >> ~/.ssh/known_hosts
echo 3
printf "%s" "$SSH_KEY" > ~/.ssh/key
echo 4
chmod 600 ~/.ssh/key
echo 5
ssh -i ~/.ssh/key tyrone@$MACHINE_IP /home/tyrone/aethebot/restart.sh
echo 6

0 comments on commit 5b27caa

Please sign in to comment.