更新设置页面,修复采矿速率相关问题 (#42) #68
Workflow file for this run
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: Deploy branch preview (https://b.dsp-calc.pro) | |
| on: [ push, workflow_dispatch ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| environment: branch-preview | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - run: npm install | |
| - run: npm run build | |
| - name: Create dist.zip | |
| run: | | |
| cd dist | |
| zip -q -r ../dist.zip * | |
| - name: Deploy branch site (https://b.dsp-calc.pro) | |
| run: "curl --fail --no-progress-meter --location 'https://publish.b.dsp-calc.pro/u?branch=${{ github.ref_name }}' --header 'Authorization: ${{ secrets.B_AUTH_TOKEN }}' --form '[email protected]'" |