Skip to content

Commit

Permalink
fix the deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
netroy authored Nov 22, 2022
1 parent 315d733 commit 7686ba3
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,24 @@ jobs:
env:
NODE_OPTIONS: '--max_old_space_size=4096'
steps:
- uses: actions/checkout@v3
- name: Checkout n8n repo
uses: actions/checkout@v3
with:
repository: n8n-io/n8n
ref: ${{ github.event.inputs.branch || 'master' }}
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo

- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 7.14.2

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'pnpm'

- name: Checkout n8n repo
uses: actions/checkout@v3
with:
repository: n8n-io/n8n
ref: ${{ github.event.inputs.branch || 'master' }}
path: n8n

- name: Build Storybook
working-directory: n8n
run: |
pnpm install
cd packages/design-system/
Expand All @@ -59,4 +52,4 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
force: true
directory: 'n8n/packages/design-system/storybook-static'
directory: 'packages/design-system/storybook-static'

0 comments on commit 7686ba3

Please sign in to comment.