From 45321de2af7957fb124a180c4a53b0a694cca1a3 Mon Sep 17 00:00:00 2001 From: almightyhak <134626626+almightyhak@users.noreply.github.com> Date: Fri, 28 Jun 2024 00:06:25 +0700 Subject: [PATCH] Add files via upload --- .github/workflows/build_push.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_push.yml b/.github/workflows/build_push.yml index bc16ce7b..26e41560 100644 --- a/.github/workflows/build_push.yml +++ b/.github/workflows/build_push.yml @@ -101,7 +101,7 @@ jobs: ALIAS: ${{ secrets.ALIAS }} KEY_STORE_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }} KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }} - run: chmod +x ./gradlew && ./gradlew -p src assembleDebug + run: chmod +x ./gradlew && ./gradlew -p src assembleRelease - name: Upload APKs (chunk ${{ matrix.chunk }}) uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4 @@ -155,8 +155,15 @@ jobs: ref: main path: repo - - name: Deploy repo + - name: Sync repo run: | - cd repo - chmod +x ../main/.github/scripts/commit-repo.sh - ../main/.github/scripts/commit-repo.sh + rsync -a --delete --exclude .git --exclude .gitignore main/repo/ repo + + - name: Deploy repo + uses: EndBug/add-and-commit@v9 + with: + message: "Update extensions repo" + cwd: "./repo" + committer_name: almightyhak + committer_email: 134626626+almightyhak@users.noreply.github.com + \ No newline at end of file