Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Commit f76b196

Browse files
authored
Merge pull request #143 from relay-tools/fix-github-push
Ensure CI can push to GitHub
2 parents 97eed26 + c8c2552 commit f76b196

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ env:
77
- secure: RQjCgMg2NHtjP7qZDNSXjcX0wKm9A9NVcnszamDNp79ljUK9s8JmBUEF/nmraoV38a5WrrfQvvBJGY3kTm/UFdItblcsmNm2fWixuRhc1QPtOhB765SKYVus4v87cN/CI4teUmDC118gQHVfg/elkqUjbFg5nmhcSK1V+wQi3DIdRDtmmob4VcBKimQHGHYQgXx0Am16BnVcVeLV28U77hp9f4Cle4vEn0n3Waaum2upaoF/WQGzFHap9yRKghARSZ8Rxd2CgGFbFQuXlll7evV21RHmOTmef4ENZ27KuWiBBnxosALnOqc+J/ah00HoNHcswgjuQdWWXhM8pUAr3oP9dciJcaf77jkpB6ICxsj/k0Ykl7crJuKQYO2MmYi4Hx9FX+wfaxIPxmApErxGDqFb8ornY277iW7REaBykml5BqPENS607KWYmpSFNduMC7HK15ntaeOCWV0isLc0TMkcENdepA5s7llViOhO2dfn0flrZtAZ5NdGbIcspF8rg+vnA42VJJ2VEh2VWyGveYkcUcJiYVRh1srycAc8uJYzj65fuUOLzzGkJh/q7gh2HrofBk5fD50tbKFHCf+3+nG8D7Tt6vWzpJ4I1gadyjtMeiIK3tmwUDfAl7sHkmC4pOlqZA1pMiPqgxLrER672QLYmD2AjvdS3hqGExCZVi0=
88
- GIT_NAME="Eloy Durán"
99
- GIT_EMAIL="[email protected]"
10+
- GH_USER="alloy"
1011

1112
script:
1213
- yarn lint

scripts/deploy.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
if [ ! -z "$TRAVIS_BRANCH" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
2+
git config --local user.name "${GIT_NAME}"
3+
git config --local user.email "${GIT_EMAIL}"
4+
git remote rm origin
5+
git remote add origin https://${GH_USER}:${GH_TOKEN}@github.com/relay-tools/relay-compiler-language-typescript.git
6+
27
npx auto shipit $AUTO_OPTS
38
else
49
echo "Not on master, skipping deploy"

0 commit comments

Comments
 (0)