chore(deps): update dependency rollup-plugin-visualizer to v6 (#228) #432
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upload dist | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
upload: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: upload-dist-${{ github.ref }} | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: ./.github/actions/setup-node | |
- name: Build Dist | |
run: pnpm run build | |
- name: Upload to OSS | |
run: pnpm run upload | |
env: | |
REGION: ${{ secrets.OSS_REGION }} | |
ACCESS_KEY_ID: ${{ secrets.OSS_ACCESS_KEY_ID }} | |
ACCESS_KEY_SECRET: ${{ secrets.OSS_ACCESS_KEY_SECRET }} | |
BUCKET: ${{ secrets.OSS_BUCKET }} | |
REMOTE_PATH: ${{ secrets.OSS_REMOTE_PATH }} | |
- name: Update PRTS Website | |
run: pnpm run update ${{ secrets.PRTS_USERNAME }} ${{ secrets.PRTS_PASSWORD }} |