19 lines
366 B
Bash
Executable File
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 |