Created
September 25, 2019 05:54
-
-
Save farhang/498f8f8c1ea0ddaae08fb238df12d3e6 to your computer and use it in GitHub Desktop.
deploy angular project to github pages using travis CI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dist: xenial | |
| sudo: false | |
| language: node_js | |
| node_js: | |
| - "10" | |
| cache: | |
| directories: | |
| - ./node_modules | |
| install: | |
| - npm install | |
| script: | |
| - npm run-script build | |
| deploy: | |
| provider: pages | |
| skip_cleanup: true | |
| github_token: $GITHUB_TOKEN | |
| local_dir: dist/angular-github-pages-travis | |
| on: | |
| branch: master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment