chore: 统一组件尺寸为small并更新依赖,新增抓马播报组件 #3
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: Preview Dev | |
| on: | |
| push: | |
| branches: | |
| - dev | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [v22.14.0] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install && Build | |
| run: | | |
| npm install | |
| npm run build:dev | |
| mv dist pvx | |
| ## TODO:下方修改1处 | |
| - name: GrayEnv | |
| uses: appleboy/scp-action@v0.1.4 | |
| with: | |
| host: ${{ secrets.HOST_NANJING2 }} | |
| username: ${{ secrets.DEPLOY_USER }} | |
| key: ${{ secrets.DEPLOY_KEY }} | |
| source: pvx/* | |
| target: /www/wwwroot/jx3box/test | |
| timeout: 600s | |
| command_timeout: 600s | |
| debug: true |