-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #110 from Disfactory/master
2.1.0
- Loading branch information
Showing
27 changed files
with
22,024 additions
and
424 deletions.
There are no files selected for viewing
File renamed without changes.
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 |
---|---|---|
|
@@ -54,6 +54,8 @@ jobs: | |
needs: [lint, typecheck, unit-test] | ||
runs-on: ubuntu-latest | ||
if: "!contains(github.event.head_commit.message, '[skip ci]') && github.event_name == 'push' && github.ref == 'refs/heads/master'" | ||
env: | ||
VUE_APP_PROTOMAP_API_KEY: e6cfbd46818cf623 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js 10.x | ||
|
@@ -63,6 +65,7 @@ jobs: | |
- name: Install and Build | ||
run: | | ||
npm ci | ||
echo "VUE_APP_BASE_URL=https://api.disfactory.tw/api" > .env | ||
npm run build | ||
- name: Deploy to GitHub Pages | ||
uses: JamesIves/[email protected] | ||
|
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 |
---|---|---|
|
@@ -5,6 +5,7 @@ node_modules | |
# local env files | ||
.env.local | ||
.env.*.local | ||
.env | ||
|
||
# Log files | ||
npm-debug.log* | ||
|
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 |
---|---|---|
@@ -1,34 +1,45 @@ | ||
# frontend | ||
# Disfactory frontend | ||
|
||
- Staging Server: https://dev.disfactory.tw (latest `master` branch) | ||
- Production server: https://disfactory.tw (`production` branch) | ||
|
||
## Project setup | ||
``` | ||
|
||
```bash | ||
cp .env.example .env | ||
npm install | ||
``` | ||
|
||
### Compiles and hot-reloads for development | ||
``` | ||
|
||
```bash | ||
npm run serve | ||
``` | ||
|
||
### Compiles and minifies for production | ||
``` | ||
|
||
```bash | ||
npm run build | ||
``` | ||
|
||
### Run your tests | ||
``` | ||
|
||
```bash | ||
npm run test | ||
``` | ||
|
||
### Lints and fixes files | ||
``` | ||
|
||
```bash | ||
npm run lint | ||
``` | ||
|
||
### Run your unit tests | ||
``` | ||
|
||
```bash | ||
npm run test:unit | ||
``` | ||
|
||
### Customize configuration | ||
|
||
See [Configuration Reference](https://cli.vuejs.org/config/). |
Oops, something went wrong.