Skip to content

Commit

Permalink
docs: review
Browse files Browse the repository at this point in the history
  • Loading branch information
OzakIOne committed Apr 4, 2024
1 parent 369abbb commit 6757407
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions website/docs/deployment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,11 @@ Our goal is that:
1. When a new pull request is made to `main`, there's an action that ensures the site builds successfully, without actually deploying. This job will be called `test-deploy`.
2. When a pull request is merged to the `main` branch or someone pushes to the `main` branch directly, it will be built and deployed to GitHub Pages. This job will be called `deploy`.

Here are two approaches to deploying your docs with GitHub Actions. Based on the location of your deployment repository, choose the relevant tab below:

- Source repo and deployment repo are the **same** repository.
- The deployment repo is a **remote** repository, different from the source. Instructions for this scenario assume [publishing source](https://help.github.com/en/github/working-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site) is the `gh-pages` branch.

```mdx-code-block
<Tabs>
<TabItem value="same" label="Same">
Expand Down

0 comments on commit 6757407

Please sign in to comment.