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

p12 certificate as a secret? #13

Open
L4ZZA opened this issue Feb 9, 2021 · 2 comments
Open

p12 certificate as a secret? #13

L4ZZA opened this issue Feb 9, 2021 · 2 comments

Comments

@L4ZZA
Copy link

L4ZZA commented Feb 9, 2021

Hi there,

I've been trying to build an iOS app for days using github actions nobody seems to share to do that from start to finish.

Once I get the p12 binary file from a mac keychain acces, how can I "add it as a secret" so that your actions recognises it if it is a binary file and the secrets input only allows text?

@solid-maxim
Copy link

@L4ZZA You can encode it to a base64 string: base64 <certificate_name>.p12 | pbcopy. And paste copied text into secrets.

@abemedia
Copy link

abemedia commented Apr 3, 2021

Since I was using some custom bash before migrating to this I had already done that part but I do think for people first arriving here it would be useful to have a basic guide in the README.

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

3 participants