Skip to content

Merge pull request #4 from nicksinclair/fix-deploy #3

Merge pull request #4 from nicksinclair/fix-deploy

Merge pull request #4 from nicksinclair/fix-deploy #3

name: Build & Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '14.x'
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Build
run: npm run build
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
cname: couplestherapy.band