From 8bd46d303c21d7d3a398969b3474c59be6481ceb Mon Sep 17 00:00:00 2001 From: Pierre Gee Date: Wed, 31 Jul 2024 14:14:19 +0800 Subject: [PATCH] chore(ci): sync provisioning profile (#4188) * chore(ci): sync provisioning profile * chore(ci): sync provisioning profile --- .../eas-update-provisioning-profile.yml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/eas-update-provisioning-profile.yml diff --git a/.github/workflows/eas-update-provisioning-profile.yml b/.github/workflows/eas-update-provisioning-profile.yml new file mode 100644 index 0000000000..f10b69bf71 --- /dev/null +++ b/.github/workflows/eas-update-provisioning-profile.yml @@ -0,0 +1,29 @@ +name: Update iOS Provisioning Profile + +on: + workflow_dispatch: + +jobs: + update-profile: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: 20 + + - name: Install EAS CLI + run: npm install -g eas-cli + + - name: Authenticate with Expo + run: eas login --token ${{ secrets.EXPO_TOKEN }} + + - name: Sync iOS credentials with EAS + run: eas credentials:sync --platform ios + env: + EXPO_APPLE_API_KEY_ID: ${{ secrets.EXPO_APPLE_API_KEY_ID }} + EXPO_APPLE_API_ISSUER_ID: ${{ secrets.EXPO_APPLE_API_ISSUER_ID }} + EXPO_APPLE_API_KEY: ${{ secrets.EXPO_APPLE_API_KEY }}