-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8a446c0
commit 84f9223
Showing
38 changed files
with
42,280 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: web-deploy | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Deploy react app to github pages | ||
run: | | ||
pwd | ||
cd web | ||
pwd | ||
npm ci | ||
CI=false npm run build | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git --work-tree build add --all | ||
git commit -m "Auto deployment" | ||
git push origin HEAD:gh-pages --force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# SUTD-TrafficQA Web | ||
|
||
## Dependencies | ||
|
||
```bash | ||
npm install axios react-router-dom @material-ui/core react-bootstrap react-code-blocks country-list | ||
``` |
Oops, something went wrong.