restructure deployment

pull/1/head
Evan Hemsley 2019-12-01 15:07:48 -08:00
parent 121ecab764
commit 0fad3e7bd0
3 changed files with 4 additions and 22 deletions

View File

@ -14,23 +14,5 @@ install:
# Compile the site # Compile the site
script: script:
- hugo - hugo
- npm install -g gh-pages
# Deploy the site - this hook comes from Travis integration - gh-pages --dist public --dest docs/encompass --repo https://x-access-token:${GITHUB_TOKEN}@github.com/MoonsideGames/moonsidegames.github.io.git --branch master
deploy:
# The output of our static site
local_dir: public
# 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
keep_history: true
on:
branch: master

View File

@ -1,5 +1,5 @@
baseURL = "https://moonsidegames.github.io/docs/encompass/" baseURL = "https://moonsidegames.github.io/docs/encompass/"
publishDir = "public/docs/encompass" publishDir = "public"
languageCode = "en-US" languageCode = "en-US"
title = "Encompass Docs" title = "Encompass Docs"
theme = ["hugo-notice", "hugo-theme-learn"] theme = ["hugo-notice", "hugo-theme-learn"]

View File

@ -1 +1 @@
<a href="/index.html"><img src="/images/logo-and-text.png" width="200"></a> <a href="{{ $.Site.BaseURL }}"><img src="{{ $.Site.BaseURL }}/images/logo-and-text.png" width="200"></a>