最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

github actions - Enable Firebase App Distribution for a new app by automation? - Stack Overflow

programmeradmin1浏览0评论

I want to enable Firebase App Distribution for my newly created Firebase app. I use this code to deploy an APK to Firebase in GitHub:

      - name: Deploy App to Firebase App Distribution
        working-directory: ./myapp
        run: |
          firebase appdistribution:distribute "myapp.apk" \
            --app ${{ inputs.firebase_app_id }} \
            --groups ${{ inputs.distribution_group }} \
            --project=${{ inputs.target_project_id }}

GitHub outputs this error on execution:

Run firebase appdistribution:distribute "myapp.apk" \

i uploading binary...

Error: App Distribution could not find your app [myapp-id]. Make sure to onboard your app by pressing the "Get started" button on the App Distribution page in the Firebase console: /%5C_/appdistribution

We use the creation of environments in an highly automated way. Also the deployment and enablement of Firebase App Distribution should be part of the process.

Here the users on GitHub want to do the same with no solution posted. So I wanted to ask here if someone knows about a solution.

The ultimo (and dumbest) solution would be to use a personalized Google Account and click in the pipeline with e.g. the help of Puppeteer...
I really not want to do this. But can it really be that the automated solution is blocked by a "Get Started" button?

That there is an API call to enable App Distribution by API and not by a button.

发布评论

评论列表(0)

  1. 暂无评论