Feat: publish to s3 & auto update (#511)

* publish to s3

* add update base url

* autoupdate from s3

* fix warning

* update locales

* update publish workflow
This commit is contained in:
an-lee
2024-04-11 21:37:48 +08:00
committed by GitHub
parent b4767a9c7a
commit 39c55b5f3f
11 changed files with 888 additions and 31 deletions

View File

@@ -30,6 +30,9 @@ jobs:
APPLE_ID: ${{ runner.os == 'macOS' && secrets.APPLE_ID || '' }}
APPLE_APP_PASSWORD: ${{ runner.os == 'macOS' && secrets.APPLE_APP_PASSWORD || '' }}
APPLE_TEAM_ID: ${{ runner.os == 'macOS' && secrets.APPLE_TEAM_ID || '' }}
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }}
run: yarn enjoy:publish
- name: Upload artifact