diff --git a/.github/workflows/repository-synchronization.yaml b/.github/workflows/repository-synchronization.yaml new file mode 100644 index 00000000..83e0482e --- /dev/null +++ b/.github/workflows/repository-synchronization.yaml @@ -0,0 +1,26 @@ +name: Repository synchronization + +on: + pull_request: + types: + - closed + branches: + - master + workflow_dispatch: + +jobs: + run: + if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch' + uses: rees46/workflow/.github/workflows/reusable-android-synchronization.yaml@master + permissions: write-all + with: + appId: ${{ vars.PERSONACLICK_COURIER_ID }} + repositoryOwner: PersonaClick + targetRepository: personaclick/demo-android + sourceDirname: rees46 + targetDirname: personaClick + syncIgnore: ".git,.github/workflows/sync.yaml,.idea,version.properties,app/src/main/res/drawable/ic_app.xml,app/src/main/res/drawable/ic_logo.xml" + replacementExtentions: "*.kts,*.kt,*.md,*.xml,*.toml,*.yml,*.yaml,LICENSE" + replacementContents: "357382bf66ac0ce2f1722677c59511|42a4cd11ebab3b0454778d18d4f3d5,a043dbc2f852ffe18861a2cdfc364ef2|5a57812604806d58d3d98f8e9480cb97,2dbebc39bee259b118bcc0ac3fa74a42|e4fd6e3a19610f7aea5534e96eec69d6,a043dbc2f852ffe18861a2cdfc364ef2|aabc899d3db3d71c4032832e4291c16a,fcaa8d3168ab7d7346e4b4f1a1c92214|09d291f54de95e9e5bde43b343b0b0d7,https://api.rees46.com/|https://api.personaclick.com/,com.rees46:rees46-sdk|com.personaclick:personaclick-sdk,api.rees46.com|api.personaclick.com,rees46.com|personaclick.com,rees46|personaClick,REES46|PersonaClick,Rees46|PersonaClick" + secrets: + privateKey: ${{ secrets.PERSONACLICK_COURIER_SECRET }} diff --git a/.github/workflows/sync.yaml b/.github/workflows/sync.yaml deleted file mode 100644 index e5b66c1e..00000000 --- a/.github/workflows/sync.yaml +++ /dev/null @@ -1,18 +0,0 @@ -name: Sync repositories - -on: - workflow_run: - workflows: - - "Publish to Play Store and Bump Version" - types: - - completed - workflow_dispatch: - -jobs: - run: - uses: rees46/workflow/.github/workflows/reusable-android-synchronization.yaml@master - permissions: write-all - secrets: - token: ${{ secrets.JADE_SMITH_BOT_TOKEN }} - with: - targetRepository: personaclick/demo-android diff --git a/.gitignore b/.gitignore index f3a0373f..81060824 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,5 @@ play-account.json # Android Profiling *.hprof + +.local/ diff --git a/.vim/coc-settings.json b/.vim/coc-settings.json new file mode 100644 index 00000000..be975570 --- /dev/null +++ b/.vim/coc-settings.json @@ -0,0 +1,3 @@ +{ + "java.compile.nullAnalysis.mode": "disabled" +} \ No newline at end of file