We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31a9a5b commit ffd544fCopy full SHA for ffd544f
docs/.vuepress/github/clientDynamicModules.js
@@ -31,11 +31,16 @@ async function getSponsors() {
31
* Deploy previews don't have access to secrets.
32
* Return early since we don't have a token.
33
*/
34
- if (process.env['DEPLOY_PREVIEW']) {
+ if (
35
+ process.env['DEPLOY_PREVIEW'] &&
36
+ parseInt(process.env['DEPLOY_PREVIEW'])
37
+ ) {
38
console.log('Skipping sponsors because this is a deploy preview.')
39
return []
40
}
41
42
+ console.log('Fetching sponsors...')
43
+
44
const query = `
45
{
46
user(login: "sagalbot") {
0 commit comments