Skip to content

Commit

Permalink
Create npm script for app deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
rmcreyes committed Mar 19, 2020
1 parent 64d46d0 commit 52e1232
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test": "react-scripts test",
"start": "scripts/app_start.sh",
"build": "react-scripts build",
"deploy": "gh-pages -d build"
"deploy": "scripts/app_deploy.sh"
},
"author": "UBC Launch Pad",
"license": "ISC",
Expand Down
7 changes: 7 additions & 0 deletions scripts/app_deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

# Fetch Unity minigame binaries
scripts/unity_fetch.sh

# Deploy app
gh-pages -d build

0 comments on commit 52e1232

Please sign in to comment.