File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -191,6 +191,9 @@ jobs:
191191 - uses : actions/checkout@v2
192192 with :
193193 repository : ' ThePBone/PPA-Repository'
194+ token : ${{ secrets.REPO_AUTH_TOKEN }}
195+ persist-credentials : false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
196+ fetch-depth : 0
194197
195198 - name : Prepare version information (1/3)
196199 uses : oprypin/find-latest-tag@v1
@@ -236,18 +239,17 @@ jobs:
236239 gpg --default-key "${EMAIL}" -abs -o - Release > Release.gpg
237240 gpg --default-key "${EMAIL}" --clearsign -o - Release > InRelease
238241
239- - name : Commit files
240- run : |
241- git config --local user.email "tim.schneeberger@outlook.de"
242- git config --local user.name "Tim Schneeberger"
243- git add .
244- git commit -m "Update JamesDSP packages" -a
245-
246- - name : Push changes
247- uses : ad-m/github-push-action@master
242+ - name : Push to PPA
243+ uses : cpina/github-action-push-to-another-repository@main
244+ env :
245+ API_TOKEN_GITHUB : ${{ secrets.REPO_AUTH_TOKEN }}
248246 with :
249- github_token : ${{ secrets.REPO_AUTH_TOKEN }}
250- branch : master
247+ source-directory : ' .'
248+ destination-github-username : ' ThePBone'
249+ destination-repository-name : ' PPA-Repository'
250+ user-email : tim.schneeberger@outlook.de
251+ target-branch : master
252+
251253
252254 attach-to-release :
253255 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments