Skip to content

Merge pull request #13 from BurkhalterY/dependabot/npm_and_yarn/ejs-3… #61

Merge pull request #13 from BurkhalterY/dependabot/npm_and_yarn/ejs-3…

Merge pull request #13 from BurkhalterY/dependabot/npm_and_yarn/ejs-3… #61

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Build
run: |
npm install
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: built
FOLDER: dist