From 045801dd1adf2b2d3d116c961d9b3849e8a88e20 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Wed, 19 May 2021 02:56:46 +0430 Subject: [PATCH] push to Suwayomi/Tachidesk-preview --- .github/scripts/commit-preview.sh | 3 ++- .github/workflows/build_push.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/scripts/commit-preview.sh b/.github/scripts/commit-preview.sh index 2bc9f0d..8529b81 100755 --- a/.github/scripts/commit-preview.sh +++ b/.github/scripts/commit-preview.sh @@ -1,6 +1,7 @@ #!/bin/bash -rm -rf preview/* +rm -rf preview/*.jar preview/*.zip + cp master/server/build/Tachidesk-*.jar preview cp master/server/build/Tachidesk-*.zip preview diff --git a/.github/workflows/build_push.yml b/.github/workflows/build_push.yml index 9fa502c..f3efe3f 100644 --- a/.github/workflows/build_push.yml +++ b/.github/workflows/build_push.yml @@ -78,7 +78,8 @@ jobs: - name: Checkout preview branch uses: actions/checkout@v2 with: - ref: preview + repository: 'Suwayomi/Tachidesk-preview' + ref: main path: preview - name: Deploy preview