Skip to content

Commit

Permalink
auto commit
Browse files Browse the repository at this point in the history
  • Loading branch information
roftLin committed Aug 20, 2020
1 parent 690aa54 commit 5a3e3fd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ os:
- linux
node_js:
- stable

env:
global:
- GH_REF: github.com/roftLin/dp.git
install:
- npm install
script:
Expand All @@ -26,9 +28,8 @@ after_success:

# # # 2、重置标记位,防止下次提交进入发布流程
- npm run deploy
- git add .
- git commit --amend --no-edit
- git push -u origin master
- git commit -a --amend --no-edit
- git push -f https://${GITHUB_TOKEN}@${GH_REF} master

# - export IS_NPMSUCCESS=$(npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}" && npm publish --access public)
# - echo $IS_NPMSUCCESS
Expand Down

0 comments on commit 5a3e3fd

Please sign in to comment.