为输出表格中的输入框添加检查是否是数字的功能 #17
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 }} |