Skip to content

Commit 5058fa6

Browse files
authored
Merge pull request #1 from intrinsic-opensource/asymingt/switch-to-gh-pages-and-setup-trigger
Prepare for automated triggering, and use the upstream gh-pages branch
2 parents dff7946 + c1aafc4 commit 5058fa6

File tree

3 files changed

+21
-8
lines changed

3 files changed

+21
-8
lines changed

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

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,39 @@
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:
2130
checkout-setup-build-test:
2231
runs-on: ubuntu-24.04
2332
steps:
2433

34+
- name: Checkout repository and submodules
35+
uses: actions/checkout@v4
36+
with:
37+
submodules: true
38+
fetch-depth: 0
39+
40+
- name: Switch to latest gh-pages branch of the RCR
41+
run: |
42+
git submodule foreach git checkout origin/gh-pages
43+
2544
- name: Install platform tooling
2645
timeout-minutes: 10
2746
run: |
2847
sudo apt-get -qq install npm direnv
2948
sudo npm install -g pnpm
3049
eval "$(direnv hook bash)"
31-
32-
- name: Checkout repository and submodules
33-
uses: actions/checkout@v4
34-
with:
35-
submodules: true
3650
3751
- name: Setup Bazel
3852
uses: bazel-contrib/setup-bazel@0.15.0

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)