We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5f82ec commit faff94dCopy full SHA for faff94d
deploy.sh
@@ -1,13 +1,17 @@
1
#!/bin/sh
2
3
+cd $HOME
4
+
5
git config --global user.email "[email protected]"
6
git config --global user.name "Travis CI"
7
-git add -f screenshots
-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
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 .
12
-git pull origin-push master
13
+git add -f screenshots
14
+git commit --message "[Travis Screenshots: $TRAVIS_JOB_NUMBER] [skip ci]"
15
-git push origin-push master
16
+git pull --force origin master
17
+git push --force origin master
0 commit comments