๐Ÿ”ฎ Sanity Create is here. Writing is reinvented. Try now, no developer setup

How to Integrate with CircleCI - Error: runner failed (exited with 101)

4 replies
Last updated: Jun 20, 2022
Hello, when I try to integrate it with CircleCI, it gets a login error. is anyone knows how can I pass it through Sanity Token? thanks
  #!/bin/bash -eo pipefail
sanity graphql deploy --dataset=staging --tag default --playground

Error: You must login first - run "sanity login"
    at node_modules/@sanity/cli/bin/sanity-cli.js:707:672
    at deployApiActions (node_modules/@sanity/core/lib/actions/graphql/deployApiAction.js:68:18)
Exited with code exit status 1

Step failed
Error: runner failed (exited with 101)
Task failed
Jun 20, 2022, 9:14 AM
I think you can pass it as a
environment variable.
Jun 20, 2022, 9:16 AM
Thank you, I am trying right now.
Jun 20, 2022, 9:28 AM
Backporting the outcome here: it seems to work. ๐Ÿ™‚
Jun 20, 2022, 10:21 AM
Thank you really, it is working ๐Ÿ™
Jun 20, 2022, 10:22 AM

Sanityโ€“ build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?