Skip to content

Commit c2bcefb

Browse files
authored
chore(ci): remove legacy S3 CDN deploy from release-web (#744)
* chore(ci): remove legacy S3 CDN deploy from release-web The release-web workflow no longer uploads build output to CDN and no longer depends on AWS secrets. Keep artifact upload only to match the current release process. Made-with: Cursor * fix(ci): restore PUBLIC_PATH env for iframe release build Keep PUBLIC_PATH injection in release-web workflow while removing legacy CDN upload and AWS secrets usage. Made-with: Cursor
1 parent 6110417 commit c2bcefb

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

.github/workflows/release-web.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ jobs:
66
release-web:
77
runs-on: ubuntu-latest
88
env:
9-
HOST_PATH: '${{ github.event.repository.name }}/${{ github.sha }}/'
109
PUBLIC_PATH: 'https://jssdk.onekey.so/${{ github.event.repository.name }}/${{ github.sha }}/'
1110
steps:
1211
- uses: actions/checkout@v4
@@ -20,25 +19,12 @@ jobs:
2019
run: |
2120
yarn
2221
yarn bootstrap
23-
- name: Build Target
24-
run: |
25-
yarn build
26-
2722
- name: Build Target
2823
env:
2924
PUBLIC_PATH: ${{ env.PUBLIC_PATH }}
3025
run: |
3126
yarn build
3227
33-
- name: Deploy to CDN
34-
uses: OneKeyHQ/onekey-github-actions/s3-upload@main
35-
with:
36-
aws_key_id: ${{ secrets.AWS_KEY_ID }}
37-
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
38-
aws_bucket: ${{ secrets.AWS_BUCKET }}
39-
source_dir: './packages/hd-web-sdk/build/'
40-
destination_dir: ${{ env.HOST_PATH }}
41-
4228
- name: Upload Artifacts
4329
uses: actions/upload-artifact@v4
4430
with:

0 commit comments

Comments
 (0)