Skip to content

High performance self-hosted photo and video management solution.

fix: use push-o-matic to create release (#15562)

bo0tzz907fed108163
diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml
index fc03b24d08..9be52f90f0 100644
--- a/.github/workflows/prepare-release.yml
+++ b/.github/workflows/prepare-release.yml
@@ -68,10 +68,17 @@ jobs:
needs: build_mobile
steps:
+ - name: Generate a token
+ id: generate-token
+ uses: actions/create-github-app-token@v1
+ with:
+ app-id: ${{ secrets.PUSH_O_MATIC_APP_ID }}
+ private-key: ${{ secrets.PUSH_O_MATIC_APP_KEY }}
+
- name: Checkout
uses: actions/checkout@v4
with:
- token: ${{ secrets.ORG_RELEASE_TOKEN }}
+ token: ${{ steps.generate-token.outputs.token }}
- name: Download APK
uses: actions/download-artifact@v4