Skip to content

fix: add ticks to identifier definition to prevent prettier from form… #52

fix: add ticks to identifier definition to prevent prettier from form…

fix: add ticks to identifier definition to prevent prettier from form… #52

Workflow file for this run

name: Publish to website
on:
push:
branches:
- main
tags:
- GROQ-*
jobs:
scheduled:
runs-on: ubuntu-latest
steps:
- name: Check out this repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Node
uses: actions/setup-node@v2
with: {node-version: '14'}
- name: Install NPM dependencies
run: npm i
- name: Add gh-pages worktree
run: git fetch origin gh-pages && git worktree add ./gh-pages gh-pages
- name: Generate HTML
run: sh scripts/publish.sh
- name: Commit and push if it changed
working-directory: gh-pages
run: |-
git config user.name "Automated"
git config user.email "[email protected]"
git add -A
git commit -m "Update HTML" || exit 0
git push