mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-28 03:19:22 +00:00
[ci-skip] Serve immediately (#295)
This commit is contained in:
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user