Skip to content

Commit 4750088

Browse files
author
Ruslan Farkhutdinov
committed
Storybook Deployment: Update paths
1 parent d806684 commit 4750088

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/pr-storybook-deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212
actions: read
1313

1414
env:
15-
SOURCE_DIR: dist/static
15+
SOURCE_DIR: ./apps/react-storybook/storybook-static
1616

1717
jobs:
1818
prepare:
@@ -28,7 +28,7 @@ jobs:
2828
- name: Download meta artifact
2929
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
3030
with:
31-
run_id: ${{ github.event.workflow_run.id }}
31+
run-id: ${{ github.event.workflow_run.id }}
3232
name: preview-meta
3333
path: artifacts
3434
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -39,7 +39,7 @@ jobs:
3939
shell: bash
4040
run: |
4141
set -euo pipefail
42-
META="artifacts/meta.json"
42+
META="artifacts/preview_meta/meta.json"
4343
echo "Meta:"
4444
cat "$META"
4545
@@ -71,9 +71,9 @@ jobs:
7171
if: needs.prepare.outputs.action == 'deploy'
7272
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
7373
with:
74-
run_id: ${{ github.event.workflow_run.id }}
74+
run-id: ${{ github.event.workflow_run.id }}
7575
name: preview-static
76-
path: ${{ env.SOURCE_DIR }}
76+
path: .
7777
github-token: ${{ secrets.GITHUB_TOKEN }}
7878
repository: ${{ github.repository }}
7979

0 commit comments

Comments
 (0)