We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 690f595 commit fc3be81Copy full SHA for fc3be81
2 files changed
.travis.yml
@@ -10,6 +10,10 @@ cache:
10
11
git:
12
depth: false
13
+
14
+branches:
15
+ only:
16
+ - master
17
18
before_script:
19
- bash ci/commit-lockfile.sh
ci/commit-lockfile.sh
@@ -8,10 +8,11 @@ if ! git diff-index --quiet HEAD --; then
8
git config --global user.email "$GITHUB_EMAIL"
9
git config --global user.name "Travis CI"
git config --global push.default simple
+ git remote add jenkins https://"$GITHUB_TOKEN"@github.com/"$TRAVIS_REPO_SLUG".git
git add package-lock.json
git commit -m "chore(*): update lockfile"
LAST_COMMIT=`git rev-parse HEAD`
- git remote
- git push origin $LAST_COMMIT:$TRAVIS_PULL_REQUEST_BRANCH
+ git push jenkins $LAST_COMMIT:$TRAVIS_PULL_REQUEST_BRANCH
+ git remote rm jenkins
fi
0 commit comments