From 1782bd4806074628c93c2ef265e028b4fbdba081 Mon Sep 17 00:00:00 2001 From: LittleChest <81231195+LittleChest@users.noreply.github.com> Date: Fri, 9 Aug 2024 17:17:26 +0800 Subject: [PATCH] [ci-skip] Serve immediately (#295) --- .github/workflows/build.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dc947729..6a1cfb89 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -94,14 +94,6 @@ jobs: with: webhook-url: ${{ secrets.DISCORD_WEBHOOK }} raw-data: ${{ env.discordmes }} - - name: Upload to cloud - if: "!contains(github.event.commits[0].message, '[release-skip]')" - continue-on-error: true - uses: wei/rclone@v1 - env: - RCLONE_CONF: ${{ secrets.RCLONE_CONF }} - with: - args: copy ${{ env.jar }} FTP:${{ env.tag }} --contimeout 10s - name: Push to API if: "!contains(github.event.commits[0].message, '[release-skip]')" continue-on-error: true @@ -110,3 +102,11 @@ jobs: secret_v2: ${{ secrets.API_V2_PUSH_TOKEN }} tag: ${{ env.tag }} run: sh scripts/PushToAPI.sh + - name: Upload to cloud + if: "!contains(github.event.commits[0].message, '[release-skip]')" + continue-on-error: true + uses: wei/rclone@v1 + env: + RCLONE_CONF: ${{ secrets.RCLONE_CONF }} + with: + args: copy ${{ env.jar }} FTP:${{ env.tag }} --contimeout 10s --progress