From 03c3c58929c20a62bb9aa5af09a828392d5d09a8 Mon Sep 17 00:00:00 2001 From: kirainmoe Date: Sat, 6 Nov 2021 17:31:08 +0800 Subject: [PATCH] fix: remove files --- .github/workflows/release.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2e66313..0ab0e8c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,11 +18,10 @@ jobs: - name: Release to jsdelivr repo env: token: ${{ secrets.token }} - run: git clone https://${token}@github.com/kirainmoe/hasee-tongfang-macos-build build + run: git clone https://${token}@github.com/kirainmoe/hasee-tongfang-macos-build /tmp/build - - run: rm -rf build/*.zip build/*.js - - run: cp $BUILD_NAME build/$BUILD_NAME - - run: cd build + - run: rm -rf /tmp/build/*.zip /tmp/build/*.js + - run: cp $BUILD_NAME /tmp/build/$BUILD_NAME - run: git config --global user.name "tongfang-ci-bot" - run: git config --global user.email "tongfang@kirainmoe.com" - - run: git add . && git commit -m "Deploy version $BUILD_NAME" && git push --force \ No newline at end of file + - run: cd /tmp/build && git add . && git commit -m "Deploy version $BUILD_NAME" && git push --force \ No newline at end of file