Skip to content

Commit 0a0ec26

Browse files
committed
test deploy
1 parent f8f9165 commit 0a0ec26

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

.travis.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,26 @@ before_deploy:
3030
echo $PACKAGE_VERSION
3131
git config --local user.name "Francesca-Bit"
3232
git config --local user.email "[email protected]"
33+
git add .
34+
git commit -m "version changed travis_build_number $TRAVIS_BUILD_NUMBER [skip travis]"
35+
git push https://Francesca-Bit:[email protected]/terminusdb/terminus-client.git HEAD:master
3336
git tag -f $PACKAGE_VERSION -m "new version $PACKAGE_VERSION"
3437
fi
3538
- export TRAVIS_VAR="1.$TRAVIS_BUILD_NUMBER"
3639
- echo $TRAVIS_VAR
37-
#[skip travis]
38-
deploy:
39-
- provider: pages
40-
skip-cleanup: true
41-
target-branch: master # Commit to master instead of gh-pages
42-
github-token: $GITHUB_TOKEN
43-
commit_message: "Deploy from travis [skip travis]"
44-
keep-history: true # By default, Travis uses push --force and wipes out commit history
45-
verbose: true
46-
on:
47-
branch: master
40+
41+
#[skip travis] commit_message dosen't work in this travis version
42+
# - provider: pages
43+
# skip-cleanup: true
44+
# target-branch: master # Commit to master instead of gh-pages
45+
# github-token: $GITHUB_TOKEN
46+
# commit_message: "Deploy from travis [skip travis]"
47+
# keep-history: true # By default, Travis uses push --force and wipes out commit history
48+
# verbose: true
49+
# on:
50+
# branch: master
51+
52+
deploy:
4853
- provider: releases
4954
keep_history: true
5055
api_key: $GITHUB_TOKEN

0 commit comments

Comments
 (0)