From b207a4ccbd17c88c68392120ea883164cad45322 Mon Sep 17 00:00:00 2001 From: Kirill Ivanov Date: Wed, 14 May 2025 00:11:54 +0300 Subject: [PATCH 1/3] refactor(githoub): rm constants --- .github/workflows/constants/replacements.yml | 40 -------------------- 1 file changed, 40 deletions(-) delete mode 100644 .github/workflows/constants/replacements.yml diff --git a/.github/workflows/constants/replacements.yml b/.github/workflows/constants/replacements.yml deleted file mode 100644 index 7c9fefc..0000000 --- a/.github/workflows/constants/replacements.yml +++ /dev/null @@ -1,40 +0,0 @@ -deletions: - - .github/workflows/repo-sync.yaml - - .github/workflows/constants/replacements.yml -ignore: - - version.properties - - Info.plist - - App/Info.plist -replacements: - - from: "MYA32EHWN4" - to: "Z49R96MV7D" - - from: 'provisioningProfileSpecifier: "demo-ios"' - to: 'provisioningProfileSpecifier: "PersonaClick Demo Shop Distribution Profile"' - - from: "com.rees46.demo-shop" - to: "com.personaclick.ios-demo" - - from: "demo-ios" - to: "PersonaClick Demo Shop Distribution Profile" - - from: "PUBLIVERSIONER_SECRET" - to: "PERSONACLICK_COURIER_SECRET" - - from: "PUBLIVERSIONER_ID" - to: "PERSONACLICK_COURIER_ID" - - from: "https://reference.api.rees46.com/#introduction" - to: "https://personaclick.atlassian.net/wiki/spaces/english/overview?mode=global" - - from: "desk@rees46.com" - to: "success@personaclick.com" - - from: "https://github.com/user-attachments/assets/f84f80c5-5884-42f5-92d5-65f2a4c30aee" - to: "https://github.com/user-attachments/assets/06eba2ec-d342-43a0-9ab5-bec6352490f0" - - from: "api.rees46.com" - to: "api.personaclick.com" - - from: "rees46.com" - to: "personaclick.com" - - from: "rees46.ru" - to: "personaclick.com" - - from: "rees46" - to: "personaclick" - - from: "REES46" - to: "PersonaClick" - - from: "REES" - to: "PersonaClick" - - from: "Rees46" - to: "PersonaClick" From f00c4dcfb6906d444ba526dd671290152ab3f9af Mon Sep 17 00:00:00 2001 From: Kirill Ivanov Date: Wed, 14 May 2025 00:12:03 +0300 Subject: [PATCH 2/3] refactor(github): replacements action --- .github/workflows/repo-sync.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/repo-sync.yaml b/.github/workflows/repo-sync.yaml index 68f587f..7882e2f 100644 --- a/.github/workflows/repo-sync.yaml +++ b/.github/workflows/repo-sync.yaml @@ -15,8 +15,14 @@ jobs: outputs: replacements: ${{ steps.getReplacementsStep.outputs.replacements }} steps: - - uses: rees46/workflow/.github/actions/sync/read-replacements@master + # TODO uncomment + # - uses: rees46/workflow/.github/actions/sync/read-replacements@master + - uses: rees46/workflow/.github/actions/sync/read-replacements@refactor/replacements id: getReplacementsStep + with: + appId: ${{ vars.PUBLIVERSIONER_ID }} + appSecret: ${{ secrets.PUBLIVERSIONER_SECRET }} + replacementsPath: github/repo-sync-replacements/demo-ios.yml repoSync: needs: prepare From 07342d3f22c85da800b5832ec407274335c13f6f Mon Sep 17 00:00:00 2001 From: Kirill Ivanov Date: Wed, 14 May 2025 00:15:56 +0300 Subject: [PATCH 3/3] chore(github): prepare for prod --- .github/workflows/repo-sync.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/repo-sync.yaml b/.github/workflows/repo-sync.yaml index 7882e2f..2e04bcb 100644 --- a/.github/workflows/repo-sync.yaml +++ b/.github/workflows/repo-sync.yaml @@ -15,9 +15,7 @@ jobs: outputs: replacements: ${{ steps.getReplacementsStep.outputs.replacements }} steps: - # TODO uncomment - # - uses: rees46/workflow/.github/actions/sync/read-replacements@master - - uses: rees46/workflow/.github/actions/sync/read-replacements@refactor/replacements + - uses: rees46/workflow/.github/actions/sync/read-replacements@master id: getReplacementsStep with: appId: ${{ vars.PUBLIVERSIONER_ID }}