diff --git a/.github/workflows/deploy_production.yml b/.github/workflows/deploy_production.yml index b62c3b2..911c62d 100644 --- a/.github/workflows/deploy_production.yml +++ b/.github/workflows/deploy_production.yml @@ -3,6 +3,7 @@ on: push: branches: - main + - feature/6-set-up-cd-android jobs: deploy_android: diff --git a/.github/workflows/deploy_staging.yml b/.github/workflows/deploy_staging.yml index df6d7b5..cab2f1d 100644 --- a/.github/workflows/deploy_staging.yml +++ b/.github/workflows/deploy_staging.yml @@ -3,6 +3,7 @@ on: push: branches: - develop + - feature/6-set-up-cd-android jobs: deploy_android: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f8cef9f..279f1bb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,11 +2,10 @@ name: Code analysis, test and generate sample project on: pull_request: types: [ opened, synchronize, reopened, ready_for_review ] - push: branches-ignore: - main - develop - - 'release/*' + - 'release/**' concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -105,8 +104,8 @@ jobs: restore-keys: | ${{ runner.os }}-gradle- - - name: Decode buildKonfig properties - run: echo ${{ secrets.BUILD_KONFIG_PROPERTIES }} | base64 --decode > buildKonfig.properties + - name: Set up the necessary config + run: echo "${{ secrets.BUILD_KONFIG_PROPERTIES }}" > buildKonfig.properties - name: Run Detekt run: ./gradlew detekt @@ -170,9 +169,9 @@ jobs: restore-keys: | ${{ runner.os }}-pods- - - name: Decode buildKonfig properties + - name: Set up the necessary config working-directory: ./sample - run: echo ${{ secrets.BUILD_KONFIG_PROPERTIES }} | base64 --decode > buildKonfig.properties + run: echo "${{ secrets.BUILD_KONFIG_PROPERTIES }}" > buildKonfig.properties - name: Generate KMM frameworks for Cocoapods run: |