mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-20 12:39:24 +00:00
docs: ⚡ added env file pipeline process
This commit is contained in:
@@ -10,9 +10,9 @@ import { RequestHandlerNetlify } from '@builder.io/qwik-city/middleware/netlify-
|
|||||||
import { GITHUB_TOKEN } from './docs/constant'
|
import { GITHUB_TOKEN } from './docs/constant'
|
||||||
|
|
||||||
export const onGet: RequestHandlerNetlify = async ({ platform }) => {
|
export const onGet: RequestHandlerNetlify = async ({ platform }) => {
|
||||||
console.log(`[🚩 platform]: `, platform)
|
|
||||||
const CHECK_GITHUB_TOKEN =
|
const CHECK_GITHUB_TOKEN =
|
||||||
(platform as any)?.['GITHUB_TOKEN'] ?? GITHUB_TOKEN
|
(platform as any)?.['GITHUB_TOKEN'] ?? GITHUB_TOKEN
|
||||||
|
console.log(`[🚩 platform]: `, GITHUB_TOKEN)
|
||||||
const data = await fetchGithub(CHECK_GITHUB_TOKEN)
|
const data = await fetchGithub(CHECK_GITHUB_TOKEN)
|
||||||
return data
|
return data
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user