Skip to content

Merge pull request #9 from cjjp/main #86

Merge pull request #9 from cjjp/main

Merge pull request #9 from cjjp/main #86

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12'
- run: npm install
- run: npm run build
- uses: actions/upload-artifact@v2
with:
name: build
path: dist
- uses: tibor19/static-website-deploy@v1
with:
enabled-static-website: 'true'
folder: 'dist'
connection-string: ${{ secrets.CONNECTION_STRING }}