Skip to content

Major Release

Major Release #2

Workflow file for this run

name: netlify-deploy
on:
pull_request:
types:
- closed
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout ✅
uses: actions/checkout@v3
- name: Setup 🏗
uses: actions/setup-node@v2
with:
node-version: lts/*
cache: 'npm'
- name: Install ⚙️
run: npm install
- name: Build 🛠
run: npm run build
- name: Test 📋
run: npm run test:prod
- name: Deploy to Netlify
uses: nwtgck/[email protected]
with:
publish-dir: './dist/unb-tv-frontend'
production-branch: devel
github-token: ${{ secrets.GITHUB_TOKEN }}
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 1