Skip to content
Permalink
c8f6d3ecd2
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
23 lines (23 sloc) 599 Bytes
language: node_js
cache:
directories:
- node_modules
- "$PANDOC"
notifications:
email: false
node_js: 8
before_install:
- mkdir -p "$PANDOC"
- if [[ ! -f "$PANDOC/pandoc.deb" ]]; then curl -L "$PANDOC_DEB" > "$PANDOC/pandoc.deb" && dpkg -x "$PANDOC/pandoc.deb" "$PANDOC"; fi
- export PATH="$PANDOC/usr/bin:$PATH"
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: dist
on:
branch: master
env:
global:
- PANDOC="$HOME/.pandoc"
- PANDOC_DEB="https://github.com/jgm/pandoc/releases/download/1.19.2.1/pandoc-1.19.2.1-1-amd64.deb"