Skip to content

Commit 1768786

Browse files
fix: add automatic deploy of website
1 parent 98bbbf5 commit 1768786

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
fetch-depth: 0
7575
- name: Setup
7676
uses: ./.github/actions/setup
77+
- run: yarn build-example
7778
- name: Deploy example
7879
uses: jakejarvis/s3-sync-action@master
7980
with:
@@ -83,7 +84,7 @@ jobs:
8384
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
8485
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
8586
AWS_REGION: 'eu-central-1'
86-
# SOURCE_DIR: 'public' # optional: defaults to entire repository
87+
SOURCE_DIR: 'example/web-build' # optional: defaults to entire repository
8788

8889

8990

0 commit comments

Comments
 (0)