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
Introduces a GitHub Actions workflow to build the wiki and deploy it to the project's GitHub Pages repository. Ensures the live site stays in sync with changes in the main repository while keeping build artifacts out of version control. Provides documentation on the deployment process and necessary repository secrets.
Copy file name to clipboardExpand all lines: website/README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,3 +40,12 @@ hugo --baseURL="/wiki/" --destination="../wiki"
40
40
```
41
41
42
42
This generates the static site under `website/wiki/`.
43
+
44
+
## Deployment
45
+
46
+
The site is deployed to <https://class-pollution.github.io> via the GitHub Actions workflow at `.github/workflows/deploy-website.yml`. On every push to `main` that touches `website/`, the workflow:
47
+
48
+
1. Builds the wiki with Hugo into `website/wiki/`
49
+
2. Pushes `index.html`, `img/`, and `wiki/` to the `class-pollution/class-pollution.github.io` repo
50
+
51
+
The workflow uses a `DEPLOY_TOKEN` repository secret (a fine-grained PAT with write access to the target repo).
0 commit comments