Simplify push.yml to only use B64 encryption keys
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
shared:
|
||||
apple:
|
||||
key_id: <%= ENV["APNS_KEY_ID"] %>
|
||||
encryption_key: <%= (ENV["APNS_ENCRYPTION_KEY_B64"] ? Base64.decode64(ENV["APNS_ENCRYPTION_KEY_B64"]) : ENV["APNS_ENCRYPTION_KEY"]&.gsub("\\n", "\n"))&.dump %>
|
||||
encryption_key: <%= Base64.decode64(ENV["APNS_ENCRYPTION_KEY_B64"] || "").dump %>
|
||||
team_id: <%= ENV["APNS_TEAM_ID"] || "2WNYUYRS7G" %>
|
||||
topic: <%= ENV["APNS_TOPIC"] || "do.fizzy.app.ios" %>
|
||||
connect_to_development_server: <%= Rails.env.local? %>
|
||||
google:
|
||||
encryption_key: <%= (ENV["FCM_ENCRYPTION_KEY_B64"] ? Base64.decode64(ENV["FCM_ENCRYPTION_KEY_B64"]) : ENV["FCM_ENCRYPTION_KEY"])&.dump %>
|
||||
encryption_key: <%= Base64.decode64(ENV["FCM_ENCRYPTION_KEY_B64"] || "").dump %>
|
||||
project_id: fizzy-a148c
|
||||
|
||||
Reference in New Issue
Block a user