Skip to content

Commit 218b285

Browse files
vredchenkoclaude
andcommitted
feat: add PyPI links to artifacts and auto-deploy GH Pages
- Add PyPI and GitHub Releases links to backend and agent artifacts - Enable automatic GH Pages deployment on push to main when webui/, core/, or docs/ files change Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 4039f27 commit 218b285

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.github/workflows/deploy-webui.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ name: Deploy WebUI to GitHub Pages
22

33
on:
44
workflow_dispatch:
5+
push:
6+
branches: [main]
7+
paths:
8+
- 'webui/**'
9+
- 'core/**'
10+
- 'docs/**'
511

612
permissions:
713
contents: read

core/artefacts.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,24 @@
55
"label": "SmartEM Backend",
66
"url": "https://github.com/DiamondLightSource/smartem-decisions/pkgs/container/smartem-decisions",
77
"description": "Docker container image of SmartEM Backend services for use in k8s deploys",
8-
"command": "docker pull ghcr.io/diamondlightsource/smartem-decisions:latest"
8+
"command": "docker pull ghcr.io/diamondlightsource/smartem-decisions:latest",
9+
"links": [
10+
{ "label": "Docker", "url": "https://github.com/DiamondLightSource/smartem-decisions/pkgs/container/smartem-decisions" },
11+
{ "label": "PyPI", "url": "https://pypi.org/project/smartem-decisions/" },
12+
{ "label": "GitHub Releases", "url": "https://github.com/DiamondLightSource/smartem-decisions/releases" }
13+
]
914
},
1015
{
1116
"id": "agent",
1217
"label": "SmartEM Agent",
1318
"url": "https://github.com/DiamondLightSource/smartem-decisions/actions/workflows/build_win_smartem_agent.yml",
1419
"description": "SmartEM Agent packaged as a Windows 10 executable (download from workflow artifacts)",
15-
"command": ""
20+
"command": "",
21+
"links": [
22+
{ "label": "Windows .exe", "url": "https://github.com/DiamondLightSource/smartem-decisions/actions/workflows/build_win_smartem_agent.yml" },
23+
{ "label": "PyPI", "url": "https://pypi.org/project/smartem-decisions/" },
24+
{ "label": "GitHub Releases", "url": "https://github.com/DiamondLightSource/smartem-decisions/releases" }
25+
]
1626
},
1727
{
1828
"id": "frontend",

0 commit comments

Comments
 (0)