Skip to content

Commit

Permalink
ci: fix cd (#15)
Browse files Browse the repository at this point in the history
Signed-off-by: andrei-zgirvaci <[email protected]>
  • Loading branch information
andrei-zgirvaci authored Apr 9, 2024
1 parent 7071f48 commit cded0ca
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: Distribute Sample App to App Center

on:
push:
branches: [main]

env:
SAMPLE_APP_PATH: 'apps/sample-app/android'
branches: [main, ci]

jobs:
build-sample-app:
build-and-deploy-sample-app:
env:
SAMPLE_APP_PATH: 'apps/sample-app/android'

runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -44,12 +44,6 @@ jobs:
cd ${{ env.SAMPLE_APP_PATH }}
./gradlew assembleRelease
deploy-sample-app:
needs: build-sample-app

runs-on: ubuntu-latest

steps:
- name: Upload .apk to App Center
uses: wzieba/AppCenter-Github-Action@v1
with:
Expand Down

0 comments on commit cded0ca

Please sign in to comment.