Skip to content

High performance self-hosted photo and video management solution.

ci: use push-o-matic app for release process (#12075)

Zack Pollard028be6738e4f
diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml
index 9d50f6f8f9..6668976bcf 100644
--- a/.github/workflows/prepare-release.yml
+++ b/.github/workflows/prepare-release.yml
@@ -40,16 +40,22 @@ jobs:
- name: Bump version
run: misc/release/pump-version.sh -s "${{ inputs.serverBump }}" -m "${{ inputs.mobileBump }}"
+ - 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: Commit and tag
id: push-tag
uses: EndBug/add-and-commit@v9
with:
- author_name: Alex The Bot
- author_email: [email protected]
- default_author: user_info
- message: 'Version ${{ env.IMMICH_VERSION }}'
+ default_author: github_actions
+ message: 'chore: version ${{ env.IMMICH_VERSION }}'
tag: ${{ env.IMMICH_VERSION }}
push: true
+ github-token: ${{ steps.generate-token.outputs.token }}
build_mobile:
uses: ./.github/workflows/build-mobile.yml