Skip to content

Commit d7f0278

Browse files
authored
Updating install step in deploy workspace (#151)
* Updating install step in deploy workspace * Comment out deployment part * Adding back the deployment part * Updating docusaurus config * Corrected baseUrl value * Moving back correct event triggers * Fixing code blocks in links
1 parent 59c31bd commit d7f0278

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/deploy-documentation.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,11 @@ jobs:
2525
with:
2626
node-version: '20'
2727
- name: Install dependencies
28-
run: |
29-
cd react-facet
30-
npm ci
28+
run: yarn install --immutable
3129
- name: Build
3230
run: |
3331
cd react-facet
34-
npm run build
32+
yarn build
3533
- name: Setup Pages
3634
uses: actions/configure-pages@v5
3735
- name: Upload artifact

react-facet/docusaurus.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ module.exports = {
33
title: '@react-facet',
44
tagline: 'Observable-based state management for performant game UIs built in React',
55

6-
url: 'https://jolly-stone-0d2f00e03.azurestaticapps.net',
7-
baseUrl: '/',
6+
url: 'https://mojang.github.io',
7+
baseUrl: '/ore-ui',
88
projectName: 'ore-ui',
99
organizationName: 'Mojang',
1010

react-facet/src/css/custom.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,7 @@ data-lsp {
4646
margin: 0 calc(-1 * var(--ifm-pre-padding));
4747
padding: 0 var(--ifm-pre-padding);
4848
}
49+
50+
code {
51+
vertical-align: initial;
52+
}

0 commit comments

Comments
 (0)