tree: 69dcb013a9083114668a7738d39349989accfb34 [path history] [tgz]
  1. gh-runner.sh
  2. README.md
contrib/README.md

GH Actions Runner

How to bake an AWS Virtual Machine for GH Actions?

  1. Get a Github Actions Runner Token from the UI
export TOKEN=<GITHUB ACTIONS RUNNER TOKEN>
  1. Download the setup script onto the machine
wget https://raw.githubusercontent.com/dgraph-io/badger/main/contrib/gh-runner/gh-runner.sh
  1. Run the script to attach this machine to Github Actions Runner Pool
sh gh-runner.sh

NOTE: This script is based on a similar script located in the dgraph repository.