Skip to content

Commit 01d9fdc

Browse files
authored
Move into monorepo (#18)
* Move into monorepo * fix deploy location * add versions * Deploy on merge to main only
1 parent 5cfea24 commit 01d9fdc

File tree

64 files changed

+9
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+9
-4
lines changed

.github/workflows/deploy-to-pages.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ on:
77
workflow_dispatch:
88
push:
99
branches: ["main"]
10-
pull_request:
11-
types: [opened, synchronize]
12-
branches: ["main"]
1310
permissions:
1411
contents: write
1512

@@ -19,6 +16,9 @@ jobs:
1916
build:
2017
# The type of runner that the job will run on
2118
runs-on: ubuntu-latest
19+
defaults:
20+
run:
21+
working-directory: website
2222

2323
# Steps represent a sequence of tasks that will be executed as part of the job
2424
steps:
@@ -28,6 +28,11 @@ jobs:
2828
with:
2929
node-version: 22
3030

31+
- name: Versions
32+
run: |
33+
node -v
34+
npm -v
35+
3136
- name: Install dependencies
3237
run: npm install
3338

@@ -50,7 +55,7 @@ jobs:
5055
- name: Deploy to GitHub Pages
5156
uses: JamesIves/[email protected]
5257
with:
53-
folder: build
58+
folder: website/build
5459
branch: gh-pages
5560

5661

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)