Files
GoogleDriveManagement/.github/actions/decrypt.sh
2025-04-18 10:53:02 -04:00

12 lines
222 B
Bash
Executable File

#!/bin/sh
credspath="$1"
if [ ! -d "$credspath" ]; then
echo "creating ${credspath}"
mkdir -p "$credspath"
fi
secretvar="GAM_GHA_${JID}"
secretval="${!secretvar}"
echo -e "$secretval" > "${credspath}/oauth2.txt"