gitea-actions-badges/generate-key.sh

5 lines
93 B
Bash

#!/bin/bash
echo "Enter repo: "
read -r
echo "- $REPLY-$(openssl rand -hex 20)" >> keys.yaml