Skip to content

Instantly share code, notes, and snippets.

@lovubuntu
Created January 16, 2019 10:30
Show Gist options
  • Save lovubuntu/cf5efcef0c246a3ef4dba18fe4984dfb to your computer and use it in GitHub Desktop.
Save lovubuntu/cf5efcef0c246a3ef4dba18fe4984dfb to your computer and use it in GitHub Desktop.
Travis yml config to deploy to github pages
deploy:
provider: pages
skip_cleanup: true # To avoid cleanup of the artifact generated during script
github_token: $GITHUB_TOKEN # Provided as an environment variable in travis
local_dir: dist/angular-with-ci-cd # Replace this with your project name
on:
branch: master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment