GitHub Actions: add storybook upload
This commit is contained in:
committed by
Yana Matrosova
parent
7d72526405
commit
ce1739fe5a
@@ -44,3 +44,18 @@ jobs:
|
||||
|
||||
- name: Unit tests (nym-wallet)
|
||||
run: pnpm --filter @nymproject/nym-wallet-app test
|
||||
|
||||
- name: Build storybook
|
||||
run: pnpm --filter @nymproject/nym-wallet-app build-storybook
|
||||
|
||||
- name: Upload storybook to CI build server
|
||||
continue-on-error: true
|
||||
uses: easingthemes/ssh-deploy@main
|
||||
env:
|
||||
SSH_PRIVATE_KEY: ${{ secrets.CI_WWW_SSH_PRIVATE_KEY }}
|
||||
ARGS: "-rltgoDzvO --delete"
|
||||
SOURCE: "nym-wallet/storybook-static/"
|
||||
REMOTE_HOST: ${{ secrets.CI_WWW_REMOTE_HOST }}
|
||||
REMOTE_USER: ${{ secrets.CI_WWW_REMOTE_USER }}
|
||||
TARGET: ${{ secrets.CI_WWW_REMOTE_TARGET }}/${{ env.GITHUB_REF_SLUG }}/nym-wallet/storybook
|
||||
EXCLUDE: "/dist/, /node_modules/"
|
||||
|
||||
Reference in New Issue
Block a user