language: node_js node_js: - node install: - npm install script: - npm run build deploy: provider: pages local_dir: dist skip_cleanup: true github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable keep_history: false on: branch: master