mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
Add GitHub Actions (#211)
* Add 'run-tests' action to run specs * Add 'push-to-registry' action to push image to Docker Hub
This commit is contained in:
committed by
GitHub
parent
1e6eb17af5
commit
60b0919ce6
@@ -35,7 +35,7 @@ COPY . ${APP_ROOT}/
|
||||
|
||||
# Compile assets if production
|
||||
# SECRET_KEY_BASE=1 is a workaround (see https://github.com/rails/rails/issues/32947)
|
||||
RUN if [ "$ENVIRONMENT" = "production" ]; then RAILS_ENV=development bundle exec rake webpacker:compile; fi
|
||||
RUN if [ "$ENVIRONMENT" = "production" ]; then SECRET_KEY_BASE=1 RAILS_ENV=production bundle exec rake assets:precompile; fi
|
||||
|
||||
###
|
||||
### Dev stage ###
|
||||
|
||||
Reference in New Issue
Block a user