Explorar o código

testing release-to-github pipeline

Yuki Takei %!s(int64=9) %!d(string=hai) anos
pai
achega
09a1639525
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      wercker.yml

+ 1 - 1
wercker.yml

@@ -107,8 +107,8 @@ release-to-github: # would be run on release branch
     - script:
       name: push to github
       code: |
+        GITHUB_ORIGIN=https://yuki-takei:$GITHUB_TOKEN@$WERCKER_GIT_DOMAIN/$WERCKER_GIT_OWNER/$WERCKER_GIT_REPOSITORY.git
         git remote rm origin
-        GITHUB_ORIGIN=`git remote get-url origin | sed "s/github.com/yuki-takei:$GITHUB_TOKEN@github.com/"`
         git remote add origin $GITHUB_ORIGIN
         git push