I’m working on my first Travis CI project. I’m not sure how it works yet.
The thing is when I try to configure trigger builds, the option appears as not allowed, it doesn’t let me click it.
And this is my .travis.yml
file:
language: node_js
cache:
directories:
- ~/.npm
node_js:
- '12'
git:
depth: 3
script:
- yarn build
deploy:
provider: pages
edge: true
skip-cleanup: true
keep-history: true
github-token: $GITHUB_TOKEN
local-dir: dist/
target-branch: gh-pages
commit_message: "Deploy Release"
on:
branch: main