Skip to content

Commit c2bfa76

Browse files
committed
Update secret management to use a locked down env for deploys
1 parent aef57fe commit c2bfa76

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@ jobs:
3535
if-no-files-found: error
3636

3737
deploy:
38-
name: Deploy to GitHub Releases
38+
name: Deploy to GitHub Releases & Google Play
3939
needs: build
4040
runs-on: ubuntu-22.04
4141
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
42+
environment: production
4243
permissions:
4344
contents: write
4445
steps:
@@ -48,7 +49,6 @@ jobs:
4849
name: unsigned-app.apk
4950
path: .
5051

51-
5252
- name: Get the AAB
5353
uses: actions/download-artifact@v4
5454
with:
@@ -67,8 +67,8 @@ jobs:
6767
id: sign_app
6868
with:
6969
releaseDirectory: .
70-
signingKeyBase64: ${{ secrets.ANDROID_SIGNING_KEY }}
71-
alias: ${{ secrets.SIGNING_KEY_ALIAS }}
70+
signingKeyBase64: ${{ secrets.ANDROID_SIGNING_JKS_BASE64 }}
71+
alias: ${{ vars.SIGNING_KEY_ALIAS }}
7272
keyStorePassword: ${{ secrets.SIGNING_KEY_STORE_PASSWORD }}
7373
keyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }}
7474
env:

0 commit comments

Comments
 (0)