archives/upload.sh
TheBrokenRail 04eb9f8a18
Some checks failed
CI / Build (push) Failing after 20s
Setup CI
2025-03-20 15:21:58 -04:00

19 lines
366 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
USER='TheBrokenRail'
git clone --depth 1 "https://${USER}:${TOKEN}@gitea.thebrokenrail.com/minecraft-pi-reborn/archives.git" -b master
cd archives
# Copy
cp ../out/* .
# Commit
git commit -m 'Update Toolchain'
git push