回退计算逻辑、降低溢出物品的成本权重以减小线性规划时浮点误差、为延迟输入框提供检测 #19
This file contains 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 all commits to netlify alias site | |
on: | |
push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
environment: netlify dsp-calc.pro | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- run: npm install | |
- run: npm run build | |
- run: npm install netlify-cli -g | |
- name: Deploy to netlify (alias) | |
env: | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
NETLIFY_SITE_ID: ${{ vars.NETLIFY_SITE_ID }} | |
run: netlify deploy --dir dist --prod-if-unlocked --alias ${{ github.ref_name }} |