Skip to content

Commit d422ac6

Browse files
committed
Update prod-assets to include generate_packs
1 parent 8e8957a commit d422ac6

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/benchmark.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ jobs:
8383
benchmark:
8484
runs-on: ubuntu-latest
8585
env:
86-
REACT_ON_RAILS_PRO_LICENSE: ${{ secrets.REACT_ON_RAILS_PRO_LICENSE }}
86+
SECRET_KEY_BASE: 'dummy-secret-key-for-ci-testing-not-used-in-production'
87+
REACT_ON_RAILS_PRO_LICENSE: ${{ secrets.REACT_ON_RAILS_PRO_LICENSE_V2 }}
8788

8889
steps:
8990
# ============================================
@@ -235,9 +236,6 @@ jobs:
235236
bundle _2.5.4_ install --path=vendor/bundle --jobs=4 --retry=3
236237
fi
237238
238-
- name: generate file system-based packs
239-
run: cd spec/dummy && RAILS_ENV="production" bundle exec rake react_on_rails:generate_packs
240-
241239
- name: Prepare production assets
242240
if: github.event.inputs.app_version != 'pro_only'
243241
run: |

react_on_rails_pro/spec/dummy/bin/prod-assets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ export RAILS_ENV=production
55
if [ "$CI" = "true" ]; then
66
bundle exec bootsnap precompile --gemfile app/ lib/ config/
77
fi
8+
bundle exec rails react_on_rails:generate_packs
89
bundle exec rails assets:precompile

0 commit comments

Comments
 (0)