You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-13Lines changed: 26 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,37 +5,50 @@ This website is built using [Docusaurus](https://docusaurus.io/), a modern stati
5
5
### Installation
6
6
7
7
```
8
-
$ yarn
8
+
$ npm i
9
9
```
10
10
11
11
### Local Development
12
12
13
13
```
14
-
$ yarn start
14
+
$ npm run start
15
15
```
16
16
17
17
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
18
18
19
19
### Build
20
20
21
21
```
22
-
$ yarn build
22
+
$ npm run build
23
23
```
24
24
25
25
This command generates static content into the `build` directory and can be served using any static contents hosting service.
26
26
27
-
### Deployment
27
+
### Reviewing Pull Requests
28
28
29
-
Using SSH:
29
+
This project uses GitHub Actions to automate building, testing, and generating a preview for pull requests. Here's how you can review pull requests effectively:
30
30
31
-
```
32
-
$ USE_SSH=true yarn deploy
33
-
```
31
+
1.**Open the Pull Request**:
32
+
- Navigate to the **Pull Requests** tab in the repository.
33
+
- Select the PR you want to review.
34
34
35
-
Not using SSH:
35
+
2.**Access the Build Artifact**:
36
+
- Go to the **Actions** tab in the repository.
37
+
- Find the workflow run associated with the pull request (usually named `Pull Request Pipeline`).
38
+
- Scroll down to the **Artifacts** section and download the artifact named `site-preview-pr-<PR_NUMBER>` (e.g., `site-preview-pr-123`).
36
39
37
-
```
38
-
$ GIT_USER=<Your GitHub username> yarn deploy
39
-
```
40
+
3.**Preview the Changes**:
41
+
- Extract the downloaded artifact.
42
+
- Serve the files locally using a simple HTTP server. For example:
43
+
```bash
44
+
npx http-server <extracted-folder-path> -p 8080
45
+
```
46
+
- Open `http://localhost:8080`in your browser to review the changes.
47
+
48
+
4. **Provide Feedback**:
49
+
- Leave comments or suggestions directly in the pull request under the **Files changed** tab.
50
+
51
+
52
+
### Deployment
40
53
41
-
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
54
+
There is a [pipeline](.github/workflows/deploy.yml) that will deploy anytime that a new commit lands to `main` branch.
0 commit comments