Skip to content

Commit

Permalink
Include UXpin push part of continuous integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Jonkman committed Nov 21, 2022
1 parent a57c60d commit 61a31ee
Showing 1 changed file with 10 additions and 21 deletions.
31 changes: 10 additions & 21 deletions .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,16 @@ jobs:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN_NLDESIGNSYSTEM }}
storybookBuildDir: packages/storybook/dist/

- name: Push to UXPin
uses: actions/checkout@master
if: "github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, 'skip ci')"
with:
ref: refs/heads/master
fetch-depth: 0
run: cd uxpin-merge && npm run push
env:
UXPIN_AUTH_TOKEN: ${{ secrets.UXPIN_TOKEN }}

publish-storybook:
runs-on: ubuntu-latest
needs: continuous-integration
Expand Down Expand Up @@ -123,24 +133,3 @@ jobs:
npm config set "//registry.npmjs.org/:_authToken" "${NPM_TOKEN}"
npm run publish -- --no-verify-access --yes
npm config delete "//registry.npmjs.org/:_authToken"
publish-uxpin:
runs-on: ubuntu-latest
needs: continuous-integration
if: "github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@master
with:
ref: refs/heads/master
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: "16.14.0"
- name: Install
run: |
npm ci
npm ls
- name: Push To UXpin
run: cd uxpin-merge && npm run push
env:
UXPIN_AUTH_TOKEN: ${{ secrets.UXPIN_TOKEN }}

0 comments on commit 61a31ee

Please sign in to comment.