-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Review, Proof Reading and Link Fix (#9)
* docs: nested route * docs: cli nested route * docs: all nested route * docs: fixed framework links * docs: index and getting started proof reading * docs: updated links * docs: cli proof reading * docs: deployments proof reading * docs: fixed title and added header * docs: preview and production links * docs: feature heading links * docs: updated feature github integration text * docs: fixed links * docs: fixed globe login link * docs: update prerequisite in getting started * docs: added sub headings * docs: removed logging in heading * docs: updated link to global flags * docs: updated cli link * docs: updated sidebar ordering * docs: updated unlink * docs: updated prod and preview links * docs: proof reading * docs: proof reading frameworks * docs: proof reading frameworks * docs: proof reading infrastructure * docs: proof reading infrastructure
- Loading branch information
1 parent
e89677b
commit 751bd69
Showing
29 changed files
with
188 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
title: Logout of Globe | ||
--- | ||
|
||
# Logout | ||
|
||
The `logout` command removes any prior authentication tokens from your local machine. Once you have logged out, you will need to login again before you can deploy any projects. | ||
|
||
## Usage | ||
|
||
```bash | ||
globe logout | ||
``` | ||
|
||
A message will be displayed notifying you that you have been logged out. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Deployment Hooks | ||
--- | ||
|
||
# Deployment Hooks | ||
|
||
Deployment hooks allow you to provide a webhook endpoint that will be called throughout the lifecycle of a deployment, for example | ||
when a deployment is created, built, or deployed. | ||
|
||
Deployment hooks are in development feature and will be available soon. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- | ||
title: Deploying to Globe | ||
--- | ||
|
||
# Deployments | ||
|
||
A deployment can be triggered when you wish to deploy new code to your Globe project. In Globe, a deployment can be staged to two environments; [Production](/deployments#creating-a-production-deployment) or [Preview](/deployments#creating-a-preview-deployment). | ||
When a Production deployment has been successfully built, your domains will be updated automatically to point to the new deployment. Preview deployments on the other hand are accessible | ||
via a URL unique to the deployment. This allows you to test and share your changes on a live environment before deploying to production. | ||
|
||
![Deployments](/assets/deployments.png) | ||
|
||
Once deployments have been successfully built, you can access the unique URL from the Globe dashboard. | ||
|
||
## Creating a preview deployment | ||
|
||
To create a new preview deployment, you have two options: | ||
|
||
### via the CLI | ||
|
||
Run the [`deploy`](/cli/commands/deploy) command. By default, deployments from the CLI are staged as a preview deployment: | ||
|
||
```bash | ||
globe deploy | ||
``` | ||
|
||
### via GitHub | ||
|
||
Using the [GitHub Integration](/deployments/github-integration), you can trigger a preview deployment by pushing to a branch that | ||
is not defined as the production branch in your project settings. | ||
|
||
To learn more, view the [GitHub Integration](/deployments/github-integration) documentation. | ||
|
||
## Creating a production deployment | ||
|
||
To create a new production deployment, you have two options: | ||
|
||
### via the CLI | ||
|
||
Run the [`deploy`](/cli/commands/deploy) command with the `--prod` flag: | ||
|
||
```bash | ||
globe deploy --prod | ||
``` | ||
|
||
### via GitHub | ||
|
||
Using the [GitHub Integration](/deployments/github-integration), you can trigger a production deployment by pushing to the branch | ||
specified in your project settings. By default, this is the `main` branch. | ||
|
||
To learn more, view the [GitHub Integration](/deployments/github-integration) documentation. |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Oops, something went wrong.