Skip to content

Commit

Permalink
deployment of masterplan
Browse files Browse the repository at this point in the history
  • Loading branch information
gtanczyk committed Sep 19, 2024
1 parent 09604e6 commit 756db51
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- uses: actions/setup-node@v2-beta
with:
node-version: '18'
- run: npm install --prefix=../games/monster-steps && npm install --prefix=../games/nukes && npm install
- run: npm run build --prefix=../games/monster-steps && npm run build --prefix=../games/nukes && npm run build
- run: npm install --prefix=../games/monster-steps && npm install --prefix=../games/nukes && npm install --prefix=../games/masterplan && npm install
- run: npm run build --prefix=../games/monster-steps && npm run build --prefix=../games/nukes && npm run build --prefix=../games/masterplan && npm run build

- name: Deploy website
uses: JamesIves/github-pages-deploy-action@releases/v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/setup-node@v2-beta
with:
node-version: ${{ matrix.nodejs }}
- run: npm install --prefix=../games/monster-steps && npm install --prefix=../games/nukes && npm install
- run: npm install --prefix=../games/monster-steps && npm install --prefix=../games/nukes && npm install --prefix=../games/masterplan && npm install
- run: npm run lint
- run: npm run test
- run: npm run build --prefix=../games/monster-steps && npm run build --prefix=../games/nukes && npm run build
- run: npm run build --prefix=../games/monster-steps && npm run build --prefix=../games/nukes && npm install --prefix=../games/masterplan && npm run build
5 changes: 5 additions & 0 deletions website/vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ export default defineConfig({
dest: 'games/',
rename: 'nukes',
},
{
src: '../games/masterplan/build',
dest: 'games/',
rename: 'masterplan',
},
],
}),
],
Expand Down

0 comments on commit 756db51

Please sign in to comment.