Skip to content

Commit

Permalink
Merge branch 'master' into ahmadtaimoor-deriv-patch-4
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadtaimoor-deriv authored Feb 2, 2024
2 parents e1b828d + ca7c9bf commit 3638a4f
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/generate_preview_link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ jobs:
with:
node-version: 18.x

# - name: Setup deriv-app
# run: cd deriv-app && npm install && npm run bootstrap
- name: Setup deriv-app
run: cd deriv-app && npm install && npm run bootstrap

# - name: Remove @deriv-charts in deriv-app
# run: rm -rf deriv-app/node_modules/@deriv/deriv-charts/dist
- name: Remove @deriv-charts in deriv-app
run: rm -rf deriv-app/node_modules/@deriv/deriv-charts/dist

# - name: Setup SmartCharts
# run: cd SmartCharts && npm install
- name: Setup SmartCharts
run: cd SmartCharts && npm install

- uses: subosito/flutter-action@v2
with:
Expand All @@ -76,13 +76,12 @@ jobs:
cache: true

- name: Build flutter
env:
GIT_SSH_COMMAND: 'ssh -i ${{ secrets.SSH_KEY }}'
run: |
cd SmartCharts/chart_app
git config --global url.https://${{ secrets.REPO_READ_TOKEN }}@github.com/.insteadOf [email protected]:
flutter pub get
flutter build web --web-renderer html --release
env:
GITHUB_TOKEN: ${{ secrets.REPO_READ_TOKEN }}
- name: Build SmartCharts
run: cd SmartCharts && npm run build -- --output-path ../deriv-app/node_modules/@deriv/deriv-charts/dist
Expand Down

0 comments on commit 3638a4f

Please sign in to comment.