Skip to content

Merge branch 'main' of https://github.com/DSPCalculator/dsp-calc #13

Merge branch 'main' of https://github.com/DSPCalculator/dsp-calc

Merge branch 'main' of https://github.com/DSPCalculator/dsp-calc #13

Workflow file for this run

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 }}