diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index be10f0d..ed72b37 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -5,6 +5,7 @@ on: branches: [ "dev" ] pull_request: branches: [ "dev" ] + types: [closed] jobs: build: @@ -44,6 +45,7 @@ jobs: env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} - name: Slack - Upload APK + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged) uses: MeilCli/slack-upload-file@v1.0.0 with: slack_token: ${{ secrets.SLACK_TOKEN }}