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