Template for Gridsome Typecript and as CMS Prismic.
- Create a release in Prismic
- Look at the code, and update as corresponding:
.then((refs) => ({
staging: refs[1].ref,
production: refs[0].ref,
}))
- set the environment variable
PRISMIC_API_REF=''
inside the hidden-file(.gitignore) .env - run
yarn update-refs