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 64
64
# options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
65
65
steps :
66
66
- 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
68
68
69
69
- name : Checkout code
70
70
uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ WORKDIR /rails
13
13
14
14
# Install base packages
15
15
RUN 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 && \
17
17
rm -rf /var/lib/apt/lists /var/cache/apt/archives
18
18
19
19
# Set production environment
Original file line number Diff line number Diff line change 1
1
source "https://rubygems.org"
2
2
3
3
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
4
- gem "rails" , "~> 7.2.0 "
4
+ gem "rails" , "~> 7.2.1 "
5
5
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
6
6
gem "sprockets-rails"
7
7
# Use sqlite3 as the database for Active Record
Original file line number Diff line number Diff line change 4
4
// const { title, options } = await event.data.json()
5
5
// event.waitUntil(self.registration.showNotification(title, options))
6
6
// })
7
- //
7
+ //
8
8
// self.addEventListener("notificationclick", function(event) {
9
9
// event.notification.close()
10
10
// event.waitUntil(
11
11
// clients.matchAll({ type: "window" }).then((clientList) => {
12
12
// for (let i = 0; i < clientList.length; i++) {
13
13
// let client = clientList[i]
14
14
// let clientPath = (new URL(client.url)).pathname
15
- //
15
+ //
16
16
// if (clientPath == event.notification.data.path && "focus" in client) {
17
17
// return client.focus()
18
18
// }
19
19
// }
20
- //
20
+ //
21
21
// if (clients.openWindow) {
22
22
// return clients.openWindow(event.notification.data.path)
23
23
// }
Original file line number Diff line number Diff line change 9
9
# Precompile additional assets.
10
10
# application.js, application.css, and all non-JS/CSS in the app/assets
11
11
# 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 29
29
# Allow puma to be restarted by `bin/rails restart` command.
30
30
plugin :tmp_restart
31
31
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.
33
34
pidfile ENV [ "PIDFILE" ] if ENV [ "PIDFILE" ]
You can’t perform that action at this time.
0 commit comments