Skip to content

Instantly share code, notes, and snippets.

View richardwu's full-sized avatar

Richard Wu richardwu

View GitHub Profile
#!/usr/bin/bash
set -e
if [[ $# -ne 2 ]] ; then
echo "usage: $0 <GH org url eg https://github.com/tensor-hq> <GH runner token>"
exit 1
fi
ORGURL="$1"
TOKEN="$2"
@richardwu
richardwu / ec2_install_gh_runner.sh
Last active October 7, 2022 16:13
Simple script to install + run an GH org runner on an AWS EC2 instance.
#!/usr/bin/bash
set -e
if [[ $# -ne 2 ]] ; then
echo "usage: $0 <GH org url eg https://github.com/tensor-hq> <GH runner token>"
exit 1
fi
ORGURL="$1"
TOKEN="$2"