Skip to content

Commit 3d7312d

Browse files
committed
Prepare for automated triggering, and use the upstream gh-pages branch
Signed-off-by: Andrew Symington <simmers@intrinsic.ai>
1 parent dff7946 commit 3d7312d

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

.github/workflows/build-and-deploy-rcr-ui.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,16 @@
1414

1515
name: build-and-deploy-rcr-ui
1616
run-name: ${{ github.actor }} builds and deploys github pages
17-
on: [push]
17+
on:
18+
push:
19+
branches:
20+
- main
21+
pull_request:
22+
branches:
23+
- main
24+
repository_dispatch:
25+
types: [on-rcr-trigger]
26+
1827
permissions:
1928
contents: write
2029
jobs:
@@ -34,6 +43,10 @@ jobs:
3443
with:
3544
submodules: true
3645

46+
- name: Switch to latest gh-pages branch of the RCR
47+
run: |
48+
git submodule foreach git checkout origin/gh-pages
49+
3750
- name: Setup Bazel
3851
uses: bazel-contrib/setup-bazel@0.15.0
3952
with:

data/ros-central-registry

data/utils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export const MODULES_ROOT_DIR = path.join(
1111
process.cwd(),
1212
'data',
1313
'ros-central-registry',
14-
'docs',
1514
'modules'
1615
)
1716

0 commit comments

Comments
 (0)