Skip to content

Commit 14b048a

Browse files
Document signing up with a different git account (#1805)
* Add section to collapses for git providers about signing up with a different account * Add ids Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 939eb67 commit 14b048a

File tree

9 files changed

+72
-6
lines changed

9 files changed

+72
-6
lines changed
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { Image } from '~/components/media'
2+
import Caption from '~/components/text/caption'
3+
import ProductName from '~/components/name/product-name'
4+
import { PRODUCT_NAME } from '~/lib/constants'
5+
6+
To sign up on <ProductName /> with a different Bitbucket account, sign out of your current Bitbucket account:
7+
8+
<Image
9+
src={`${process.env.ASSETS}/docs/git-integrations/bitbucket-logout.png`}
10+
width={229}
11+
height={262}
12+
shadow
13+
borderRadius
14+
/>
15+
<Caption>Sign out of Bitbucket.</Caption>
16+
17+
Then, restart the <ProductName /> [signup process](/signup).

components/git-mdx/github/signup.mdx

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { Image } from '~/components/media'
2+
import Caption from '~/components/text/caption'
3+
import ProductName from '~/components/name/product-name'
4+
import { PRODUCT_NAME } from '~/lib/constants'
5+
6+
To sign up on <ProductName /> with a different GitHub account, sign out of your current GitHub account:
7+
8+
<Image
9+
src={`${process.env.ASSETS}/docs/git-integrations/github-logout.png`}
10+
width={356 / 2}
11+
height={846 / 2}
12+
shadow
13+
borderRadius
14+
/>
15+
<Caption>Sign out of GitHub.</Caption>
16+
17+
Then, restart the <ProductName /> [signup process](/signup).

components/git-mdx/gitlab/signup.mdx

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { Image } from '~/components/media'
2+
import Caption from '~/components/text/caption'
3+
import ProductName from '~/components/name/product-name'
4+
import { PRODUCT_NAME } from '~/lib/constants'
5+
6+
To sign up on <ProductName /> with a different GitLab account, sign out of your current GitLab account:
7+
8+
<Image
9+
src={`${process.env.ASSETS}/docs/git-integrations/gitlab-logout.png`}
10+
width={476 / 2}
11+
height={592 / 2}
12+
shadow
13+
borderRadius
14+
/>
15+
<Caption>Sign out of GitLab.</Caption>
16+
17+
Then, restart the <ProductName /> [signup process](/signup).

pages/docs/v2/git-integrations/vercel-for-bitbucket.mdx

+7-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import Collapse, { CollapseGroup } from '~/components/collapse'
55
import BitbucketDefaultBehaviour from '~/components/git-mdx/bitbucket/default-behaviour.mdx'
66
import BitbucketEnvironmentVariables from '~/components/git-mdx/bitbucket/environment-variables.mdx'
77
import BitbucketDisconnecting from '~/components/git-mdx/bitbucket/disconnecting.mdx'
8+
import BitbucketSignup from '~/components/git-mdx/bitbucket/signup.mdx'
89
import ProductName from '~/components/name/product-name'
910
import ProductShortName from '~/components/name/product-short-name'
1011
import { PRODUCT_NAME } from '~/lib/constants'
@@ -14,7 +15,7 @@ export const meta = {
1415
title: `${PRODUCT_NAME} for Bitbucket`,
1516
description: `Deploy each change in your Bitbucket projects with ${PRODUCT_NAME} to share and test with your colleagues. Instant share-able links to your work with each push. Automatically make your changes available from production domains.`,
1617
editUrl: 'pages/docs/v2/git-integrations/vercel-for-bitbucket.mdx',
17-
lastEdited: '2020-04-16T03:34:45.000Z'
18+
lastEdited: '2020-04-29T22:14:21.000Z'
1819
}
1920

2021
The <ProductName /> for Bitbucket integration automatically deploys your Bitbucket projects with [<ProductName />](/), providing [Preview Deployment URLs](/docs/v2/platform/deployments#preview), and automatic [Custom Domain](/docs/v2/custom-domains) updates.
@@ -66,7 +67,11 @@ For more information, such as a reference for default environment variables, exp
6667
</Collapse>
6768

6869
<Collapse title="Disconnect from Bitbucket">
69-
<BitbucketDisconnecting />
70+
<BitbucketDisconnecting />
71+
</Collapse>
72+
73+
<Collapse title="Sign up with another Bitbucket account" id="signup-with-another-bitbucket-account">
74+
<BitbucketSignup />
7075
</Collapse>
7176
</CollapseGroup>
7277

pages/docs/v2/git-integrations/vercel-for-github.mdx

+7-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import GitHubEnvironmentVariables from '~/components/git-mdx/github/environment-
77
import GitHubPermissions from '~/components/git-mdx/github/permissions.mdx'
88
import GitHubWorkflowExtension from '~/components/git-mdx/github/extended-workflow.mdx'
99
import GitHubDisconnecting from '~/components/git-mdx/github/disconnecting.mdx'
10+
import GitHubSignup from '~/components/git-mdx/github/signup.mdx'
1011
import ProductName from '~/components/name/product-name'
1112
import { PRODUCT_NAME } from '~/lib/constants'
1213
import NameWrapper from '~/components/name/name-wrapper'
@@ -16,7 +17,7 @@ export const meta = {
1617
title: `${PRODUCT_NAME} for GitHub`,
1718
description: `Deploy each change in your GitHub repositories with ${PRODUCT_NAME} to share and test with your colleagues. Instant share-able links to your work with each push. Automatically make your changes available from production domains.`,
1819
editUrl: 'pages/docs/v2/git-integrations/vercel-for-github.mdx',
19-
lastEdited: '2020-04-15T05:43:14.000Z'
20+
lastEdited: '2020-04-29T22:14:21.000Z'
2021
}
2122

2223
The <ProductName /> for GitHub integration automatically deploys your GitHub projects with [<ProductName />](/), providing [Preview Deployment URLs](/docs/v2/platform/deployments#preview), and automatic [Custom Domain](/docs/v2/custom-domains) updates.
@@ -87,7 +88,11 @@ For more information, such as a reference for default environment variables, exp
8788
</Collapse>
8889

8990
<Collapse title="Disconnect from GitHub">
90-
<GitHubDisconnecting />
91+
<GitHubDisconnecting />
92+
</Collapse>
93+
94+
<Collapse title="Sign up with another GitHub Account" id="signup-with-another-github-account">
95+
<GitHubSignup />
9196
</Collapse>
9297
</CollapseGroup>
9398

pages/docs/v2/git-integrations/vercel-for-gitlab.mdx

+7-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import Collapse, { CollapseGroup } from '~/components/collapse'
55
import GitLabDefaultBehaviour from '~/components/git-mdx/gitlab/default-behaviour.mdx'
66
import GitLabEnvironmentVariables from '~/components/git-mdx/gitlab/environment-variables.mdx'
77
import GitLabDisconnecting from '~/components/git-mdx/gitlab/disconnecting.mdx'
8+
import GitLabSignup from '~/components/git-mdx/gitlab/signup.mdx'
89
import ProductName from '~/components/name/product-name'
910
import NameWrapper from '~/components/name/name-wrapper'
1011
import { PRODUCT_NAME } from '~/lib/constants'
@@ -13,7 +14,7 @@ export const meta = {
1314
title: `${PRODUCT_NAME} for GitLab`,
1415
description: `Deploy each change in your GitLab projects with ${PRODUCT_NAME} to share and test with your colleagues. Instant share-able links to your work with each push. Automatically make your changes available from production domains.`,
1516
editUrl: 'pages/docs/v2/git-integrations/vercel-for-gitlab.mdx',
16-
lastEdited: '2020-04-16T03:34:45.000Z'
17+
lastEdited: '2020-04-29T22:14:21.000Z'
1718
}
1819

1920
The <ProductName /> for GitLab integration automatically deploys your GitLab projects with [<ProductName />](/), providing [Preview Deployment URLs](/docs/v2/platform/deployments#preview), and automatic [Custom Domain](/docs/v2/custom-domains) updates.
@@ -65,7 +66,11 @@ For more information, such as a reference for default environment variables, exp
6566
</Collapse>
6667

6768
<Collapse title="Disconnect from GitLab">
68-
<GitLabDisconnecting />
69+
<GitLabDisconnecting />
70+
</Collapse>
71+
72+
<Collapse title="Sign up with another GitLab account" id="signup-with-another-gitlab-account">
73+
<GitLabSignup />
6974
</Collapse>
7075
</CollapseGroup>
7176

Loading
Loading
Loading

0 commit comments

Comments
 (0)