Skip to content

Commit 990a12c

Browse files
committed
Change deploy script
1 parent 38e0b26 commit 990a12c

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
package-lock.json
22
node_modules
33
platforms/
4-
screenshots/
5-
!screenshots/.gitkeep
4+
screenshots/

deploy.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
git config --global user.email "[email protected]"
44
git config --global user.name "Travis CI"
55

6-
git checkout -b gh-pages
76
git add -f screenshots
87
git commit --message "Travis deploy: $TRAVIS_JOB_NUMBER"
98

10-
git remote add origin-pages https://${GITHUB_TOKEN}@github.com/rigor789/nativescript-vue-ui-tests.git > /dev/null 2>&1
11-
git push --force origin-pages gh-pages
9+
git remote add origin-push https://${GITHUB_TOKEN}@github.com/rigor789/nativescript-vue-ui-tests.git > /dev/null 2>&1
10+
11+
git pull origin-push master
12+
13+
git push origin-push master

0 commit comments

Comments
 (0)