Skip to content

Commit 0f36f5b

Browse files
committed
🧪 Add preview command to static-site SDK E2E tests
1 parent f45fc65 commit 0f36f5b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/sdk-e2e.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,12 @@ jobs:
248248
VIZZLY_COMMIT_MESSAGE: ${{ github.event.pull_request.head.commit.message || github.event.head_commit.message }}
249249
VIZZLY_COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.event.head_commit.id }}
250250

251+
- name: Upload preview
252+
working-directory: ./clients/static-site
253+
run: ../../bin/vizzly.js preview ../../test-site
254+
env:
255+
VIZZLY_TOKEN: ${{ secrets.VIZZLY_STATIC_SITE_CLIENT_TOKEN }}
256+
251257
# Ember SDK
252258
ember:
253259
name: Ember SDK

0 commit comments

Comments
 (0)