2019-10-08 23:39:19 +00:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
|
|
- 10
|
|
|
|
|
2019-10-08 23:41:21 +00:00
|
|
|
cache:
|
|
|
|
npm: false
|
|
|
|
before_install:
|
|
|
|
- curl -L https://unpkg.com/@pnpm/self-installer | node
|
|
|
|
install:
|
2019-10-08 23:39:19 +00:00
|
|
|
- pnpm install
|
2019-10-08 23:41:21 +00:00
|
|
|
|
|
|
|
script:
|
2019-10-08 23:39:19 +00:00
|
|
|
- pnpm run build
|
2019-10-08 23:34:18 +00:00
|
|
|
|
|
|
|
# Deploy the site - this hook comes from Travis integration
|
|
|
|
deploy:
|
|
|
|
# The output of our static site
|
|
|
|
local_dir: dist
|
|
|
|
# The repository we are deploying to
|
|
|
|
repo: MoonsideGames/moonsidegames.github.io
|
|
|
|
# The branch we are pushing the static repository
|
|
|
|
target_branch: master
|
|
|
|
# Information to use in the commit
|
|
|
|
email: evan@moonside.games
|
|
|
|
name: "Evan Hemsley"
|
|
|
|
provider: pages
|
|
|
|
# Recommended setting
|
|
|
|
skip_cleanup: true
|
|
|
|
# Set in Travis CI dashboard
|
|
|
|
github_token: $GITHUB_TOKEN
|
|
|
|
on:
|
|
|
|
branch: master
|