AMD64
no language set
Git
mkdtravis/hosted-travis:.travis.yml@7f96598
language: node_js
node_js:
- "14"
# Only deploy from the main branch
branches:
only:
- main
script:
- echo "Testing deployment with dpl" > index.html
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in Travis CI settings
local_dir: .
on:
branch: main
Build Config
{
"language": "node_js",
"os": [
"linux"
],
"dist": "xenial",
"node_js": [
"14"
],
"branches": {
"only": [
"main"
]
},
"script": [
"echo \"Testing deployment with dpl\" > index.html"
],
"deploy": [
{
"provider": "pages",
"strategy": "git",
"skip_cleanup": true,
"local_dir": ".",
"on": {
"branch": [
"main"
]
},
"token": "$GITHUB_TOKEN"
}
]
}