mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 09:00:26 +00:00
test
This commit is contained in:
parent
75f69bc6ac
commit
fb2dee1fbc
1 changed files with 8 additions and 8 deletions
16
.github/workflows/docker.yml
vendored
16
.github/workflows/docker.yml
vendored
|
@ -124,15 +124,15 @@ jobs:
|
|||
if: env.APP == 'apphub' && env.MEDIA_FROM == 'source'
|
||||
|
||||
# release media step2
|
||||
- name: Upload To Azure Blob
|
||||
uses: LanceMcCarthy/Action-AzureBlobUpload@v2
|
||||
- name: Upload To cloudflare r2
|
||||
uses: ryand56/r2-upload-action@latest
|
||||
with:
|
||||
connection_string: ${{ secrets.AZURE_STORAGE_ARTIFACT }}
|
||||
container_name: ${{ env.CHANNEL }}
|
||||
source_folder: media/
|
||||
destination_folder: ./websoft9/plugin/media
|
||||
delete_if_exists: true
|
||||
fail_if_source_empty: true
|
||||
r2-account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
r2-access-key-id: ${{ secrets.CLOUDFLARE_SECRET_ID }}
|
||||
r2-secret-access-key: ${{ secrets.CLOUDFLARE_SECRET_KEY }}
|
||||
r2-bucket: artifact
|
||||
source-dir: artifacts
|
||||
destination-dir: ./${{ env.CHANNEL }}/websoft9/plugin/media
|
||||
if: env.APP == 'apphub' && env.MEDIA_FROM == 'source'
|
||||
|
||||
##------------ special task for apphub end----------------------#
|
||||
|
|
Loading…
Reference in a new issue