Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not deploy from CI with personal credentials.json #30

Open
danielgomezrico opened this issue May 9, 2022 · 1 comment
Open

Can not deploy from CI with personal credentials.json #30

danielgomezrico opened this issue May 9, 2022 · 1 comment

Comments

@danielgomezrico
Copy link

Hi

I have the YML like this:

      - name: Publish
        uses: sakebook/[email protected]
        with:
          credential: ${{ secrets.PUBSPEC_CREDENTIAL_JSON }}
          flutter_package: false
          skip_test: true
          dry_run: true

And when I try to run the job on ci it stays forever here:

Pub needs your authorization to upload packages on your behalf.
In a web browser, go to https://accounts.google.com/o/oauth2/auth?access_type=offline&approval_prompt=force&response_type=code&client_id=818368855108-8grd2eg9tj9f38os6f1urbcvsq399u8n.apps.googleusercontent.com&redirect_uri=http%3A%2F%2Flocalhost%3A37523&code_challenge=UrnqtnQNfQ_0420cPMO1I-fTDajsfdvzcsGUaKgbXFE&code_challenge_method=S256&scope=openid+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email
Then click "Allow access".

Im using my personal json here, what can I do?

I found this that may be related:

@danielgomezrico
Copy link
Author

There should be a way to force the deploy with params otherwise the process will not run ever on CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant