Skip to content

Tidy ups

Tidy ups #14

name: deploy-to-github-pages
on:
push:
branches: [main]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
container: node:latest
steps:
- name: Checkout
uses: actions/[email protected]
- uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install rsync
run: |
apt-get update && apt-get install -y rsync
- name: Install code dependencies
run: |
npm install
- name: Compile Gatsby
run: |
npm run build
- name: Deploy to Github Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: public