Browse Source

update travis.yml

Aykut Saraç 3 years ago
parent
commit
5a0e5a1576
1 changed files with 5 additions and 8 deletions
  1. 5 8
      .travis.yml

+ 5 - 8
.travis.yml

@@ -5,20 +5,17 @@ branches:
   only:
   - main
 cache:
-directories:
-  - node_modules
-  - .next
-branches:
-  only:
-  - main
+  directories:
+    - node_modules
+    - .next
 script:
   - npm run test
   - npm run build
 deploy:
   provider: pages
-  skip_cleanup: true
+  cleanup: false
   local_dir: out
-  github_token: $GITHUB_TOKEN
+  token: $GITHUB_TOKEN
   target_branch: gh-pages
   keep_history: true
   on: