|
97 | 97 | - run: |
98 | 98 | name: Build library |
99 | 99 | command: npm --prefix ./glean run build |
| 100 | + - run: |
| 101 | + name: Install JavaScript documentation dependencies |
| 102 | + command: npm --prefix ./documentation install |
100 | 103 | - run: |
101 | 104 | name: Build docs |
102 | | - command: npm --prefix ./glean run build:docs |
| 105 | + command: npm --prefix ./documentation run build |
103 | 106 |
|
104 | 107 | browser-compat-smoke-tests: |
105 | 108 | docker: |
@@ -138,22 +141,22 @@ jobs: |
138 | 141 | - "ea:d2:3c:e1:09:cf:1a:1d:85:d6:6e:1d:52:0a:58:41" |
139 | 142 | - run: |
140 | 143 | name: Install JavaScript dependencies |
141 | | - command: npm --prefix ./glean install |
| 144 | + command: npm --prefix ./documentation install |
142 | 145 | - run: |
143 | 146 | name: Build documentation |
144 | | - command: npm --prefix ./glean run build:docs |
| 147 | + command: npm --prefix ./documentation run build |
145 | 148 | - run: |
146 | 149 | name: Disable jekyll builds |
147 | | - command: touch glean/dist/docs/.nojekyll |
| 150 | + command: touch documentation/dist/.nojekyll |
148 | 151 | - run: |
149 | 152 | name: Show contents |
150 | | - command: ls -R glean/dist/docs |
| 153 | + command: ls -R documentation/dist |
151 | 154 | - run: |
152 | 155 | name: Setup SSH key and deploy docs to gh-pages branch |
153 | 156 | command: | |
154 | 157 | git config user.email "dataops+ci-bot@mozilla.com" |
155 | 158 | git config user.name "dataops-ci-bot" |
156 | | - npm --prefix ./glean run publish:docs |
| 159 | + npm --prefix ./documentation run publish:docs |
157 | 160 |
|
158 | 161 | publish: |
159 | 162 | docker: |
@@ -240,9 +243,10 @@ workflows: |
240 | 243 | context: data-sre-gleanjs |
241 | 244 | filters: |
242 | 245 | branches: |
243 | | - ignore: /.*/ |
244 | | - tags: |
245 | | - only: /^v.*/ |
| 246 | + only: |
| 247 | + - main |
| 248 | + - release |
| 249 | + - /^release-.*/ |
246 | 250 | - publish: |
247 | 251 | context: data-sre-gleanjs |
248 | 252 | filters: |
|
0 commit comments