mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 02:23:01 +08:00
build: add r2 release mirror
This commit is contained in:
10
.github/workflows/release-mirrors.yml
vendored
10
.github/workflows/release-mirrors.yml
vendored
@@ -34,11 +34,6 @@ jobs:
|
||||
gh release download ${{ env.release_tag }} --repo 'MaaAssistantArknights/MaaAssistantArknights' --pattern "MAA-${{ env.release_tag }}-*" --clobber
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# upload-mirror0:
|
||||
# runs-on: "ubuntu-latest"
|
||||
# needs:
|
||||
# - get-files
|
||||
# steps:
|
||||
# - name: "Upload to mirror 0"
|
||||
# uses: appleboy/scp-action@master
|
||||
# with:
|
||||
@@ -48,11 +43,6 @@ jobs:
|
||||
# source: "upload-dir/${{ env.release_tag }}"
|
||||
# target: "/data/html/MaaAssistantArknights/MaaAssistantArknights/releases/download"
|
||||
# strip_components: 1
|
||||
upload-r2:
|
||||
runs-on: "ubuntu-latest"
|
||||
needs:
|
||||
- get-files
|
||||
steps:
|
||||
- name: "Upload to R2"
|
||||
uses: jakejarvis/s3-sync-action@v0.5.1
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user