archives/upload.sh
TheBrokenRail bad99a74e1
Some checks failed
CI / Build (push) Failing after 1h27m5s
Username Is Not Needed With Token
2025-03-20 16:22:01 -04:00

18 lines
337 B
Bash
Executable File

#!/bin/sh
set -e
# Setup Git
git config --global user.name 'gitea-actions'
git config --global user.email 'teabot@gitea.io'
# Clone Repository
git clone --depth 1 "https://${TOKEN}@gitea.thebrokenrail.com/minecraft-pi-reborn/archives.git" -b master
cd archives
# Copy
cp ../out/* .
# Commit
git commit -m 'Update Toolchain'
git push