Skip to content

build(deps): bump body-parser and express (#151) #98

build(deps): bump body-parser and express (#151)

build(deps): bump body-parser and express (#151) #98

name: build-and-deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
env:
TARGET_URL: handlebarsjs.com
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 16
- run: npm ci
- run: npm run test-and-build
- name: Deploy to ${{ env.TARGET_URL }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target
cname: ${{ env.TARGET_URL }}