Skip to content

Commit

Permalink
ci update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
stslex committed Apr 23, 2024
1 parent 93b8e4b commit b359f06
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/android_deploy_beta.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Android Deploy Beta

on:
push:
branches: [ dev ]
workflow_dispatch:

jobs:
Expand All @@ -15,6 +17,7 @@ jobs:
- run: |
echo "${{ secrets.KEYSTORE }}" > keystore.jks.asc
gpg -d --passphrase "${{ secrets.KEYSTORE_PASSPHRASE }}" --batch keystore.jks.asc > keystore.jks
bash ./github/scripts/update_version.sh
- uses: ruby/setup-ruby@v1.152.0
with:
Expand Down Expand Up @@ -79,4 +82,16 @@ jobs:
base64 -d -i play_config.json.b64 > play_config.json
- name: Distribute app to Beta track 🚀
run: bundle exec fastlane beta
run: bundle exec fastlane beta

- name: Commit files
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -a -m "update version"
- name: Push changd
uses: ad-m/github-push-action@dev
with:
github_token: ${{ secrets.PUSH_TOKEN }}
branch: ${{ github.ref }}
17 changes: 16 additions & 1 deletion .github/workflows/android_deploy_prod.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Android Deploy Prod

on:
push:
branches: [ main ]
workflow_dispatch:

jobs:
Expand All @@ -15,6 +17,7 @@ jobs:
- run: |
echo "${{ secrets.KEYSTORE }}" > keystore.jks.asc
gpg -d --passphrase "${{ secrets.KEYSTORE_PASSPHRASE }}" --batch keystore.jks.asc > keystore.jks
bash ./github/scripts/update_version.sh
- uses: ruby/setup-ruby@v1.152.0
with:
Expand Down Expand Up @@ -79,4 +82,16 @@ jobs:
base64 -d -i play_config.json.b64 > play_config.json
- name: Distribute app to Beta track 🚀
run: bundle exec fastlane deploy
run: bundle exec fastlane deploy

- name: Commit files
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -a -m "update version"
- name: Push changd
uses: ad-m/github-push-action@dev
with:
github_token: ${{ secrets.PUSH_TOKEN }}
branch: ${{ github.ref }}

0 comments on commit b359f06

Please sign in to comment.