File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
+ cd $HOME
4
+
3
5
git config --global user.email
" [email protected] "
4
6
git config --global user.name " Travis CI"
5
7
6
- git add -f screenshots
7
- git commit --message " Travis deploy: $TRAVIS_JOB_NUMBER "
8
+ git clone --quiet --branch=master https://${GITHUB_TOKEN} @github.com/rigor789/nativescript-vue-ui-tests.git deploy > /dev/null 2>&1
8
9
9
- git remote add origin-push https://${GITHUB_TOKEN} @github.com/rigor789/nativescript-vue-ui-tests.git > /dev/null 2>&1
10
+ cd deploy
11
+ cp -R $TRAVIS_BUILD_DIR /screenshots .
10
12
11
- git pull origin-push master
13
+ git add -f screenshots
14
+ git commit --message " [Travis Screenshots: $TRAVIS_JOB_NUMBER ] [skip ci]"
12
15
13
- git push origin-push master
16
+ git pull --force origin master
17
+ git push --force origin master
You can’t perform that action at this time.
0 commit comments