Skip to content

Commit

Permalink
add post npm deployment notification
Browse files Browse the repository at this point in the history
  • Loading branch information
iz-podpolja committed Sep 14, 2022
1 parent fb14ba6 commit 7a1025f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .semaphore/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,13 @@ blocks:
- cache restore package-$SEMAPHORE_GIT_BRANCH
- npm set-script prepare ""
- HUSKY=0 npm publish
- gh auth login
- |
gh api
--method POST
-H Accept=application/vnd.github+json
/repos/betterplace/betterplace-design-system/deployments
-f ref='$SEMAPHORE_GIT_SHA'
-f description='Deployed from semaphore'
-f environment='staging'
-f payload='{ \"deploy\": \"semaphoreci\" }'

0 comments on commit 7a1025f

Please sign in to comment.