Nap Power: Maximum

    @ajonp/sanity-plugin-ajonp-gcp-cloud-build

    0.0.6 • Public • Published

    sanity-plugin-ajonp-gcp-cloud-build

    Use Google Cloud Platform for building you sanity studio.

    Get Google Cloud Platform Credential

    clientId

    GCP Cred

    projectId

    scope

    Can be left the same

    How to use

    Install plugin

    npm install @ajonp/sanity-plugin-ajonp-gcp-cloud-build

    Add plugin to project

    sanity.json add @ajonp/sanity-plugin-ajonp-gcp-cloud-build

      "plugins": [
        "@sanity/base",
        "@sanity/components",
        "@sanity/default-layout",
        "@sanity/default-login",
        "@sanity/dashboard",
        "@sanity/desk-tool",
        "dashboard-widget-structure-menu",
        "dashboard-widget-document-list",
        "dashboard-widget-netlify",
        "@sanity/code-input",
        "ajonp-studio-logo",
        "@ajonp/sanity-plugin-ajonp-gcp-cloud-build"
      ],
    

    Update Dashboard

    Add similar to the following

    studio/dashBoardConfig.js

    {
        name: 'ajonp-gcp-cloud-build',
        layout: { width: 'medium' },
        options: {
        clientId: '535596779905-t1p17p88psrcat5ptvsovc6ktv4ovten.apps.googleusercontent.com',
        projectId: 'ajonp-ajonp-com',
        scope: `https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/cloud-platform`
        }
    }
    

    Install

    npm i @ajonp/sanity-plugin-ajonp-gcp-cloud-build

    DownloadsWeekly Downloads

    0

    Version

    0.0.6

    License

    MIT

    Unpacked Size

    12.5 kB

    Total Files

    7

    Last publish

    Collaborators

    • alex_codingcatdev