Skip to content

Instantly share code, notes, and snippets.

@giladno
Last active July 26, 2020 12:27
Show Gist options
  • Save giladno/82614109269d0a88029cbff4dafd0d19 to your computer and use it in GitHub Desktop.
Save giladno/82614109269d0a88029cbff4dafd0d19 to your computer and use it in GitHub Desktop.
Setup github runner
#!/bin/bash
# curl -s -L https://gist.githubusercontent.com/giladno/82614109269d0a88029cbff4dafd0d19/raw/ | bash
mkdir actions-runner && cd actions-runner
curl -O -L https://github.com/actions/runner/releases/download/v2.267.1/actions-runner-linux-x64-2.267.1.tar.gz
tar xzf ./actions-runner-linux-x64-2.267.1.tar.gz
./config.sh --url https://github.com/letsdeel --token XXXXXXXXXXXXXXX --name `hostname` --labels aws --work _work
sudo ./svc.sh install
sudo ./svc.sh start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment