Skip to content

Commit 654a6e6

Browse files
authored
Merge pull request #36 from MissingMaps/header-fix
header and deployment fixes
2 parents 1705992 + 426db1a commit 654a6e6

File tree

5 files changed

+3336
-3268
lines changed

5 files changed

+3336
-3268
lines changed

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
8.17.0

.travis.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
language: node_js
2-
node_js:
3-
- "8"
4-
52
env:
6-
global:
7-
- GH_REF=github.com/MissingMaps/leaderboards
8-
- DEPLOY_BRANCH=master
9-
3+
matrix:
4+
secure: iiEYsFypzr2OQfpLGrYTdRRam9S6iodjU6pELeJaagZE8xlWxWf3Bhy05UcR9OoF2I7jrK7t9cFFKRp/HPHTtWlvhaJDyHL5DQ0fW6NStVEFPhLerI0fHWzIwhZVtPFqXBDpOkONqlb0eYT5YzLp1L6Fdn6Fu7otcd4k+w/hw22+NjeQp0IYGbuP8PA3iiy5lkPD6e/+ECB3gG/+vRQ0ivHrRIl0TB5ihQ0V6T9ID2glyCVDXoLQC2STocv7PoD1wRWRk0Xo1v8PNGjg6DXD6jZyt1ncFKanYztsAjkwRRmLa92PjDxKvr+qCHmTRRRX12GRyss/N3JWctn1+OJKVyt9Q7ihd6ZLfpxF7TzzjFSPXtmmWPPwxur+MXxrucg2+tX8cZVMJQP2Z1gD4bwEw8Q0sXcnw6Mv3k8Mamu8ZbLgN2A5Z7C0TKQFO42enc2JdGiqUni54+zNSD29LQx0XJaM6o+2DT3Mup+I9srbvuyr6YouJeoXIwdZuj8rL22Bb5OdUi1e/KbXK5pko9JCK4bflISLVk6gqKl9AcnAqo3fGbfMHfkVIUTiJKz3hB1FOjuf+TgkAY7tfcrujE+R6eROJdxIojncRJBdomCYbtB89wTUv/y+cxSflrTw48hnpx4BO7ccyx+GQcgUUKH8hA+uiFQTscN8KY+u2To/rwA=
105
cache:
116
directories:
12-
- node_modules
13-
7+
- node_modules
148
script:
159
- npm run build
16-
17-
after_success:
18-
- ./.build_scripts/deploy.sh
10+
deploy:
11+
provider: pages
12+
github-token: "$GH_TOKEN"
13+
on:
14+
branch: master
15+
local_dir: build
16+
edge: true

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ This is automatically done by Travis CI for
2727
```bash
2828
npm run build && npm run deploy
2929
```
30+
31+
## Deployment
32+
33+
For the Travis-CI connection, a GitHub personal access token with 'public_repo - Access public repositories' permissions created and added via `travis encrypt GH_TOKEN=my_github_token --add env.matrix` as described in the [Travis-CI docs](https://docs.travis-ci.com/user/environment-variables#Encrypting-environment-variables).

0 commit comments

Comments
 (0)