mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2025-01-13 17:29:07 +01:00
rename repo to preview
This commit is contained in:
parent
3fcc269df3
commit
090a72b35f
6
.github/scripts/commit-repo.sh
vendored
6
.github/scripts/commit-repo.sh
vendored
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
cp master/server/build/Tachidesk-*.jar repo
|
cp master/server/build/Tachidesk-*.jar preview
|
||||||
cd repo
|
cd preview
|
||||||
|
|
||||||
new_jar_build=$(ls *.jar| tail -1)
|
new_jar_build=$(ls *.jar| tail -1)
|
||||||
echo "last jar build file name: $new_jar_build"
|
echo "last jar build file name: $new_jar_build"
|
||||||
@ -13,7 +13,7 @@ git config --global user.name "github-actions[bot]"
|
|||||||
git status
|
git status
|
||||||
if [ -n "$(git status --porcelain)" ]; then
|
if [ -n "$(git status --porcelain)" ]; then
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Update repo"
|
git commit -m "Update preview repository"
|
||||||
git push
|
git push
|
||||||
else
|
else
|
||||||
echo "No changes to commit"
|
echo "No changes to commit"
|
||||||
|
10
.github/workflows/build_push.yml
vendored
10
.github/workflows/build_push.yml
vendored
@ -70,14 +70,12 @@ jobs:
|
|||||||
dependencies-cache-enabled: true
|
dependencies-cache-enabled: true
|
||||||
configuration-cache-enabled: true
|
configuration-cache-enabled: true
|
||||||
|
|
||||||
- name: Checkout repo branch
|
- name: Checkout preview branch
|
||||||
if: github.repository == 'tachiyomiorg/tachiyomi-extensions'
|
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
ref: repo
|
ref: preview
|
||||||
path: repo
|
path: preview
|
||||||
|
|
||||||
- name: Deploy repo
|
- name: Deploy preview
|
||||||
if: github.repository == 'tachiyomiorg/tachiyomi-extensions'
|
|
||||||
run: |
|
run: |
|
||||||
./master/.github/scripts/commit-repo.sh
|
./master/.github/scripts/commit-repo.sh
|
Loading…
x
Reference in New Issue
Block a user