Skip to content

Bump prettier from 3.0.0 to 3.0.1 (#979) #374

Bump prettier from 3.0.0 to 3.0.1 (#979)

Bump prettier from 3.0.0 to 3.0.1 (#979) #374

name: Deploy to GitHub Pages
on:
push:
branches: [ master ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '14'
- name: Install Gatsby CLI
run: npm install -g gatsby-cli
- name: Build
run: |
npm install
npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v2
env:
PERSONAL_TOKEN: ${{ secrets.ACCESS_TOKEN }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./public