Skip to content

Commit

Permalink
Merge pull request #35 from betterplace:DEV-944-spike-test-out-github…
Browse files Browse the repository at this point in the history
  • Loading branch information
iz-podpolja authored Sep 14, 2022
2 parents aefc255 + 9b3c479 commit 7ddf222
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .semaphore/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ blocks:
task:
secrets:
- name: betterplace-design-system
- name: betterplace-secrets
jobs:
- name: Deploy to NPM
commands:
Expand All @@ -17,3 +18,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='production'
-f payload='{ \"deploy\": \"semaphoreci\" }'

0 comments on commit 7ddf222

Please sign in to comment.