File tree Expand file tree Collapse file tree 6 files changed +9
-8
lines changed Expand file tree Collapse file tree 6 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 6464 # options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
6565 steps :
6666 - name : Install packages
67- run : sudo apt-get update && sudo apt-get install --no-install-recommends -y google-chrome-stable curl libjemalloc2 libsqlite3-0 libvips
67+ run : sudo apt-get update && sudo apt-get install --no-install-recommends -y google-chrome-stable curl libjemalloc2 libvips sqlite3
6868
6969 - name : Checkout code
7070 uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ WORKDIR /rails
1313
1414# Install base packages
1515RUN apt-get update -qq && \
16- apt-get install --no-install-recommends -y curl libjemalloc2 libsqlite3-0 libvips && \
16+ apt-get install --no-install-recommends -y curl libjemalloc2 libvips sqlite3 && \
1717 rm -rf /var/lib/apt/lists /var/cache/apt/archives
1818
1919# Set production environment
Original file line number Diff line number Diff line change 11source "https://rubygems.org"
22
33# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
4- gem "rails" , "~> 7.2.0 "
4+ gem "rails" , "~> 7.2.1 "
55# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
66gem "sprockets-rails"
77# Use sqlite3 as the database for Active Record
Original file line number Diff line number Diff line change 44// const { title, options } = await event.data.json()
55// event.waitUntil(self.registration.showNotification(title, options))
66// })
7- //
7+ //
88// self.addEventListener("notificationclick", function(event) {
99// event.notification.close()
1010// event.waitUntil(
1111// clients.matchAll({ type: "window" }).then((clientList) => {
1212// for (let i = 0; i < clientList.length; i++) {
1313// let client = clientList[i]
1414// let clientPath = (new URL(client.url)).pathname
15- //
15+ //
1616// if (clientPath == event.notification.data.path && "focus" in client) {
1717// return client.focus()
1818// }
1919// }
20- //
20+ //
2121// if (clients.openWindow) {
2222// return clients.openWindow(event.notification.data.path)
2323// }
Original file line number Diff line number Diff line change 99# Precompile additional assets.
1010# application.js, application.css, and all non-JS/CSS in the app/assets
1111# folder are already added.
12- # Rails.application.config.assets.precompile += %w( admin.js admin.css )
12+ # Rails.application.config.assets.precompile += %w[ admin.js admin.css ]
Original file line number Diff line number Diff line change 2929# Allow puma to be restarted by `bin/rails restart` command.
3030plugin :tmp_restart
3131
32- # Only use a pidfile when requested
32+ # Specify the PID file. Defaults to tmp/pids/server.pid in development.
33+ # In other environments, only set the PID file if requested.
3334pidfile ENV [ "PIDFILE" ] if ENV [ "PIDFILE" ]
You can’t perform that action at this time.
0 commit comments