Skip to content

Merge pull request #90 from briankerr/master #67

Merge pull request #90 from briankerr/master

Merge pull request #90 from briankerr/master #67

Workflow file for this run

name: Deploy to GH pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.16.x]
steps:
- uses: actions/[email protected]
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install and Build
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
ALGOLIA_ADMIN_KEY: ${{secrets.ALGOLIA_ADMIN_KEY}}
GATSBY_ALGOLIA_APP_ID: ${{secrets.GATSBY_ALGOLIA_APP_ID}}
GATSBY_ALGOLIA_SEARCH_KEY: ${{secrets.GATSBY_ALGOLIA_SEARCH_KEY}}
CNAME: smtpfieldmanual.com
run: |
npm install
npm install [email protected] -g
gatsby build
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: public # The folder the action should deploy.
env:
CNAME: smtpfieldmanual.com