Skip to content

Commit

Permalink
Nuke apple certs each month (#5814)
Browse files Browse the repository at this point in the history
* debug certs

* Nuke certs each month

* Let's be modern

* Oops
  • Loading branch information
m-kuhn authored Nov 15, 2024
1 parent 7dfee5a commit 1c78855
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/apple_certs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ name: 🗝️ Generate certificates and synchronize profiles

on:
schedule:
- cron: '30 2 * * *'
- cron: '30 2 15 * *'
workflow_dispatch:

jobs:
sync_certs:
name: sync certs
runs-on: macos-12
runs-on: macos-15
if: ${{ github.repository == 'opengisch/QField' }}

steps:
Expand Down
12 changes: 12 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,18 @@ platform :ios do
key_content: ENV["api_private_key"],
duration: 1200
)
match_nuke(
type: "development",
app_identifier: ['ch.opengis.qfield', 'ch.opengis.qfield-dev'],
skip_confirmation: true,
readonly: false
)
match_nuke(
type: "appstore",
app_identifier: ['ch.opengis.qfield'],
skip_confirmation: true,
readonly: false
)
sync_code_signing(
type: "development",
app_identifier: ['ch.opengis.qfield', 'ch.opengis.qfield-dev'],
Expand Down

0 comments on commit 1c78855

Please sign in to comment.