Skip to content

Commit aab1ab2

Browse files
committed
fix: demo app was not built before sync
1 parent a637fc3 commit aab1ab2

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/deploy-demo.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,22 @@ jobs:
1010

1111
steps:
1212
- uses: actions/checkout@v3
13+
- uses: actions/setup-node@v3
14+
with:
15+
node-version: '18'
16+
- name: install dependencies
17+
run: |
18+
npm install
19+
npm run build
20+
working-directory: ./demo
1321
- name: deploy to bucket
1422
uses: jakejarvis/s3-sync-action@v0.5.1
23+
working-directory: ./demo
1524
with:
1625
args: --follow-symlinks --delete
1726
env:
1827
AWS_S3_ENDPOINT: https://eyevinn-epasdemo.minio-minio.auto.prod.osaas.io
1928
AWS_S3_BUCKET: 'www'
2029
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
2130
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
22-
SOURCE_DIR: 'demo/'
31+
SOURCE_DIR: 'dist/'

0 commit comments

Comments
 (0)