Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/deploy-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,8 @@ jobs:
- name: Install dependencies
run: npm install

- name: Build and sign .app with Tauri
- name: Build .app with Tauri
run: npm run tauri build -- --bundles app --target universal-apple-darwin
env:
APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}

- name: Embed provisioning profile
run: |
Expand All @@ -48,6 +46,13 @@ jobs:
2>/dev/null | head -n 1)
cp "$PROFILE" "$APP_PATH/Contents/embedded.provisionprofile"

- name: Sign app
run: |
codesign --force --deep \
--sign "${{ secrets.APPLE_SIGNING_IDENTITY }}" \
--entitlements src-tauri/Entitlements.plist \
"$APP_PATH"

- name: Build signed .pkg installer
run: |
xcrun productbuild \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
NEXT_PUBLIC_API_URL=https://scriptio.app
NEXT_PUBLIC_COMMIT_SHA=${{ env.COMMIT_SHA }}
NEXT_PUBLIC_APP_VERSION=${{ env.APP_VERSION }}
cache-from: type=gha
cache-to: type=gha,mode=max
cache-from: type=gha,scope=prod
cache-to: type=gha,mode=max,scope=prod

deploy:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
NEXT_PUBLIC_API_URL=https://staging.scriptio.app
NEXT_PUBLIC_COMMIT_SHA=${{ env.COMMIT_SHA }}
NEXT_PUBLIC_APP_VERSION=${{ env.APP_VERSION }}
cache-from: type=gha
cache-to: type=gha,mode=max
cache-from: type=gha,scope=staging
cache-to: type=gha,mode=max,scope=staging

deploy:
runs-on: ubuntu-latest
Expand Down
5 changes: 1 addition & 4 deletions src-tauri/tauri.macos.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
"bundle": {
"category": "Productivity",
"macOS": {
"entitlements": "./Entitlements.plist",
"signing": {
"entitlements": "./Entitlements.plist"
}
"entitlements": "./Entitlements.plist"
}
}
}
Loading