aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/deploy_snapshot.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/deploy_snapshot.yml')
-rw-r--r--.github/workflows/deploy_snapshot.yml49
1 files changed, 0 insertions, 49 deletions
diff --git a/.github/workflows/deploy_snapshot.yml b/.github/workflows/deploy_snapshot.yml
deleted file mode 100644
index ccfea2d6..00000000
--- a/.github/workflows/deploy_snapshot.yml
+++ /dev/null
@@ -1,49 +0,0 @@
-on:
- push:
- branches:
- - develop
-
-permissions:
- contents: write
- actions: write
-
-# There should only be one instance of this
-concurrency:
- group: ${{ github.workflow }}
- cancel-in-progress: true
-
-name: Deploy snapshot builds
-jobs:
- deploy-release-snapshot:
- runs-on: ubuntu-latest
- if: "!contains(github.event.head_commit.message, '[ci skip]')"
- steps:
- - name: Setup build environment
- uses: android-password-store/android-password-store/.github/reusable-workflows/setup-gradle@develop
- with:
- fetch-depth: 0
- dependency-graph: generate-and-submit
-
- - name: Decrypt secrets
- shell: bash
- run: scripts/signing-setup.sh "$ENCRYPT_KEY"
- env:
- ENCRYPT_KEY: ${{ secrets.ENCRYPT_KEY }}
-
- - name: Build release app
- shell: bash
- run: ./gradlew collectFreeReleaseApks collectNonFreeReleaseApks bundleFreeRelease bundleNonFreeRelease -PsentryUploadMappings
- env:
- SNAPSHOT: "true"
- SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
- SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
-
- - name: Clean secrets
- shell: bash
- run: scripts/signing-cleanup.sh
-
- - name: Deploy snapshot
- shell: bash
- run: scripts/deploy-snapshot.sh
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}