Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

ci: generate APNsSecrets.swift from GitHub Secrets during release build

libokaied5cbcb50488
diff --git a/.github/workflows/release-macos.yml b/.github/workflows/release-macos.yml
index e8c7df98..5825ee29 100644
--- a/.github/workflows/release-macos.yml
+++ b/.github/workflows/release-macos.yml
@@ -16,6 +16,15 @@ jobs:
- name: Set version from tag
run: echo "VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_ENV
+ - name: Generate APNsSecrets.swift
+ run: |
+ cat > Codync-macOS/Services/APNsSecrets.swift << 'SWIFT'
+ enum APNsSecrets {
+ static let workerURL = "${{ secrets.APNS_WORKER_URL }}"
+ static let apiSecret = "${{ secrets.APNS_API_SECRET }}"
+ }
+ SWIFT
+
- name: Build
run: |
xcodebuild build \