archives/upload.sh
TheBrokenRail dc06934a08
All checks were successful
CI / Build (push) Successful in 2h15m52s
It Better Work This Time
2025-03-20 21:14:57 -04:00

20 lines
398 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/* .
git add .
# Commit
git commit -m "Update Toolchain (${COMMIT})"
git push