Skip to content

Commit

Permalink
Changed automated build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamkrishnar committed Aug 8, 2020
1 parent dd9c11e commit 2f62cab
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,4 @@ jobs:
- stage: Generate dist, test and publish to GitHub
if: tag IS present
script:
- git config --global user.email "gkr@tuta.io"
- git config --global user.name "gkr-bot"
- git remote set-url origin https://${GH_TOKEN}@github.com/gautamkrishnar/blog-post-workflow.git
- yarn build && yarn run test-dist && git add ./dist/blog-post-workflow.js && git commit -m "Published ${TRAVIS_TAG}" && git push --quiet
- yarn build && yarn run test-dist && git clone https://${GH_TOKEN}@github.com/gautamkrishnar/blog-post-workflow.git publish-repo > /dev/null 2>&1 && cp -fv ./dist/blog-post-workflow.js ./publish-repo/dist/blog-post-workflow.js && cd publish-repo && git add ./dist/blog-post-workflow.js && git commit -m "Published ${TRAVIS_TAG}" && git push --quiet

0 comments on commit 2f62cab

Please sign in to comment.