Deployments
Table of Contents
GitHub Pages Deployment reference
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
local-dir: _site
on:
branch: masterskip-cleanup- Make sure you have
skip-cleanupset totrue, otherwise Travis CI will delete all the files created github-token- You'll need to generate a personal access token with the
public_repoorreposcope (repo is required for private repositories) Put it on the repository settings menu. local-dir- Directory to push to GitHub Pages, relative to the current directory, defaults to the current directory