Skip to content

Commit

Permalink
chore: fixes game-utils deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
feugy committed Sep 29, 2023
1 parent a560bb1 commit be6190c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hosting/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ tar --create --file ../server.tar.gz -z node_modules/ src/ migrations/ package.j
cd ../..
rm -rd dist/server

# build game-utils
cd apps/game-utils
tar --create --file ../../dist/game-utils.tar.gz -z *
cd ../..

# build games
cd apps/games
tar --create --file ../../dist/games.tar.gz -z *
Expand Down
2 changes: 2 additions & 0 deletions hosting/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ set -x
mkdir -p ~/nginx
mkdir -p ~/systemd
mkdir -p ~/server
mkdir -p ~/game-utils
mkdir -p ~/games
mkdir -p ~/node_modules/@tabulous

Expand All @@ -18,6 +19,7 @@ mv -f ~/dist/.nvmrc ~/server

# unpack files
tar -x --file ~/dist/server.tar.gz -z --directory ~/server
tar -x --file ~/dist/game-utils.tar.gz -z --directory ~/game-utils
tar -x --file ~/dist/games.tar.gz -z --directory ~/games

# creates modules internal links
Expand Down

2 comments on commit be6190c

@vercel
Copy link

@vercel vercel bot commented on be6190c Sep 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

tabulous-atelier – ./apps/web

tabulous-atelier-feugy.vercel.app
tabulous-atelier.vercel.app
tabulous-atelier-git-main-feugy.vercel.app

@vercel
Copy link

@vercel vercel bot commented on be6190c Sep 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

tabulous – ./apps/web

tabulous.vercel.app
tabulous-feugy.vercel.app
tabulous-git-main-feugy.vercel.app
tabulous.fr

Please sign in to comment.