mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2026-01-20 10:42:37 +01:00
rename repo to preview
This commit is contained in:
6
.github/scripts/commit-repo.sh
vendored
6
.github/scripts/commit-repo.sh
vendored
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
cp master/server/build/Tachidesk-*.jar repo
|
||||
cd repo
|
||||
cp master/server/build/Tachidesk-*.jar preview
|
||||
cd preview
|
||||
|
||||
new_jar_build=$(ls *.jar| tail -1)
|
||||
echo "last jar build file name: $new_jar_build"
|
||||
@@ -13,7 +13,7 @@ git config --global user.name "github-actions[bot]"
|
||||
git status
|
||||
if [ -n "$(git status --porcelain)" ]; then
|
||||
git add .
|
||||
git commit -m "Update repo"
|
||||
git commit -m "Update preview repository"
|
||||
git push
|
||||
else
|
||||
echo "No changes to commit"
|
||||
|
||||
Reference in New Issue
Block a user