Add fdroid-repo

This commit is contained in:
txyyh
2024-07-19 21:13:42 +08:00
committed by chen08209
parent 6de89d7de4
commit 621ddefc65
5 changed files with 426 additions and 1 deletions

View File

@@ -140,4 +140,18 @@ jobs:
uses: softprops/action-gh-release@v2
with:
files: ./dist/*
body_path: './release.md'
body_path: './release.md'
- name: Push to fdroid repo
uses: cpina/github-action-push-to-another-repository@v1.7.2
env:
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
with:
source-directory: ./dist/
destination-github-username: chen08209
destination-repository-name: FlClash-fdroid-repo
user-name: 'github-actions[bot]'
user-email: 'github-actions[bot]@users.noreply.github.com'
target-branch: action-pr
commit-message: Update from ${{ github.ref_name }}
target-directory: /tmp/