Verified Commit 4fa70877 authored by Sofus Rose's avatar Sofus Rose

Added an add token script. Should simplify adding a new repo.

parent fbf8652f
#!/bin/bash
#Adds a token passed in as $2 to the repo $1. Call with sudo.
TOKEN="$2"
REPO_NAME="$1"
echo "$TOKEN" > "/opt/git-repos/token_${REPO_NAME}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment