mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-23 23:51:36 +00:00
12 lines
222 B
Bash
Executable File
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"
|