Skip to content

production rate ui tweak and auto-sized-input refactor #24

production rate ui tweak and auto-sized-input refactor

production rate ui tweak and auto-sized-input refactor #24

Workflow file for this run

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 'file=@dist.zip'"