Skip to content

Commit 479b3a5

Browse files
authored
Merge pull request #3 from Human-Augment-Analytics/wp1
set up pg to render in wp
2 parents 385c3a0 + f871f02 commit 479b3a5

10 files changed

Lines changed: 713 additions & 7 deletions

File tree

.github/workflows/pages.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Deploy static site to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: pages
15+
cancel-in-progress: true
16+
17+
jobs:
18+
deploy:
19+
environment:
20+
name: github-pages
21+
url: ${{ steps.deployment.outputs.page_url }}
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@v4
26+
27+
- name: Setup Pages
28+
uses: actions/configure-pages@v5
29+
30+
- name: Upload artifact
31+
uses: actions/upload-pages-artifact@v3
32+
with:
33+
path: .
34+
35+
- name: Deploy to GitHub Pages
36+
id: deployment
37+
uses: actions/deploy-pages@v4

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,15 @@ links:
3232
3333
## Example
3434
35-
See `projects/photogrammetry.yml` as an example.
35+
See `projects/photogrammetry.yml` as an example.
36+
37+
## Adding a new project
38+
39+
1. Create a new YAML file under `projects/` using the template above.
40+
2. Give the project a unique filename, for example `projects/my-new-project.yml`.
41+
3. Add your new filename to `projects/manifest.json` under the `projects` array.
42+
4. Set `visibility: public` in the YAML if you want the project to appear in the explorer.
43+
5. Keep `visibility: private` for work that should remain hidden from the public explorer.
44+
6. Save and commit both the new YAML file and the updated `projects/manifest.json`.
45+
46+
> The explorer reads `projects/manifest.json` first and then loads each listed YAML file. The manifest is the source of truth for which project files are included.

0 commit comments

Comments
 (0)