Simplify push.yml to only use B64 encryption keys

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Rosa Gutierrez
2026-01-24 13:45:22 +01:00
parent d1500ad4ec
commit 5ad1e8cee7
+2 -2
View File
@@ -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