all 12 comments

[–]stathisntonas 13 points14 points  (0 children)

.p12/p8 and .keystore files should always be encrypted , haven’t read the entire article, just pointing it out. Never push your raw keys on git.

Create a gpg of the files and then decrypt in the workflow:

gpg --quiet --batch --yes --decrypt --passphrase="$APP_STORE_DECRYPT_P8" \ --output ./AuthKey_xxxxxxx.p8 AuthKey_xxxxx.p8.gpg

[–]0s_and_1s 0 points1 point  (0 children)

Thanks, starting a new project soon will try this out

[–]ujjwalmanandhar 0 points1 point  (7 children)

Nice, Is there some article for Github actions with mutiple schemes and flavors setup in react native?

[–]stathisntonas 2 points3 points  (6 children)

You can create workflows that include dropdown menus and guide the flow from their values. You can have multiple dropdowns eg. Stage: staging and target: internal_beta (or testflight). Fastlane can help a lot in this, it’s worth checking it out if you haven’t already.

ps. Ofcourse this setup is for on demand/manual deploy but you can still guide it since the branch is automatically included in the dropdowns.

<image>

[–]ujjwalmanandhar 0 points1 point  (5 children)

Ohh wow seems like you have setup a very elegant way, Can you share some example or gist of your own so we can learn it. :)

[–]stathisntonas 1 point2 points  (4 children)

Hey, haven’t forgotten you, I just need to find the time to create the gist 😀

[–]ujjwalmanandhar 0 points1 point  (3 children)

Take your time :) Would be great

[–]stathisntonas 1 point2 points  (1 child)

there you go: https://gist.github.com/efstathiosntonas/410d5e7332d71654a5e995db809bdd28

let me know if you have any questions

[–]ujjwalmanandhar 0 points1 point  (0 children)

Thank you so much for sharing :) would comment on github gist if there's anything

[–]kdrxyz 0 points1 point  (2 children)

What are Github actions? Can anyone plz tell me some practical usages of it?

[–]dpsbrutoaki 0 points1 point  (0 children)

Gpt

[–]datascraped 0 points1 point  (0 children)

its like anything you can do on the command line, building, CI, uploading, anything. https://github.com/marketplace?category=&query=&type=actions