Some checks failed
CI / test-and-build (push) Failing after 33s
Co-authored-by: Cursor <cursoragent@cursor.com>
7 lines
296 B
Bash
7 lines
296 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
TOKEN="$(grep -A1 'Push token' "$HOME/gitea-push-credentials.txt" | tail -1 | tr -d ' \r')"
|
|
echo "http://tloto-admin:${TOKEN}@127.0.0.1:3000/tloto-admin/games_app.git" > "$HOME/.tloto-git-fetch-url"
|
|
chmod 600 "$HOME/.tloto-git-fetch-url"
|
|
echo "FETCH_URL_OK"
|