archives/upload.sh
TheBrokenRail 049d3054a5
Some checks failed
CI / Build (push) Failing after 2h46m9s
Even More Changes!
2025-03-20 18:15:52 -04:00

19 lines
388 B
Bash
Executable File

#!/bin/sh
set -e
# Setup Git
COMMIT="$(git rev-parse --short HEAD)"
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 (${COMMIT})"
git push