Skip to content

Commit

Permalink
Auto deploy (#938)
Browse files Browse the repository at this point in the history
* Remove codeclub_lesson_builder submodule

* Add deploy to travis.yml
  • Loading branch information
Lance Olav Eastgate authored and Tjerand Silde committed Aug 22, 2018
1 parent b97e9c7 commit ae5e6ca
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 105 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
.vscode/*
build
dist
src/metalsmith-changed-ctimes.json

# Emacs temporary and recovery files
*~
Expand Down
4 changes: 0 additions & 4 deletions .gitmodules

This file was deleted.

38 changes: 28 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
language: node_js
node_js:
- "7"
install: ./travis-install.sh
script: ./gulp dist && ./gulp links
notifications:
recipients:
- geirarne@gmail.com
- arve.seljebu@gmail.com
env:
- BUILD_PDF=false

branches:
only:
- master

before_install:
- git clone --depth=1 --branch=master https://github.com/kodeklubben/codeclub-viewer.git ../codeclub-viewer
- cd ../codeclub-viewer
- nvm install

cache: yarn

script:
- yarn build:travis

# Deploy only runs for push builds (merges), never for PR builds:
# https://docs.travis-ci.com/user/deployment#pull-requests
deploy:
provider: pages
github-token: $GITHUB_TOKEN
skip-cleanup: true
keep-history: true
local-dir: dist
repo: norwegiankiwi/kodeklubben.github.io
target-branch: master
fqdn: oppgaver.kidsakoder.no
on:
branch: master
1 change: 0 additions & 1 deletion codeclub_lesson_builder
Submodule codeclub_lesson_builder deleted from 87310e
26 changes: 0 additions & 26 deletions deploy.sh

This file was deleted.

13 changes: 0 additions & 13 deletions gulp

This file was deleted.

19 changes: 0 additions & 19 deletions gulp.bat

This file was deleted.

12 changes: 0 additions & 12 deletions setup

This file was deleted.

7 changes: 0 additions & 7 deletions setup.bat

This file was deleted.

12 changes: 0 additions & 12 deletions travis-install.sh

This file was deleted.

0 comments on commit ae5e6ca

Please sign in to comment.