Skip to content

Refactor markdown sorting to use object notation in Gatsby configurat… #59

Refactor markdown sorting to use object notation in Gatsby configurat…

Refactor markdown sorting to use object notation in Gatsby configurat… #59

Workflow file for this run

name: Gatsby Publish
on:
push:
branches:
- gatsby
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- uses: enriikke/gatsby-gh-pages-action@v2
with:
access-token: ${{ secrets.ACCESS_TOKEN }}