Use run instead of action

This commit is contained in:
SebClem 2024-09-10 14:18:02 +02:00
parent bce7fe4aac
commit 5fb9431dae
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50

View File

@ -178,6 +178,7 @@ jobs:
with: with:
repository: Sebclem/sebclem-hassio-addon-repository repository: Sebclem/sebclem-hassio-addon-repository
path: "repository" path: "repository"
token: ${{ secrets.PAT_PR }}
- name: Get branch names - name: Get branch names
id: branch-names id: branch-names
@ -214,10 +215,10 @@ jobs:
commitChange: false commitChange: false
- name: Commit and push - name: Commit and push
uses: actions-js/push@v1.5 run: |
with: cd repository
github_token: ${{ secrets.PAT_PR }} git config user.name "github-actions[bot]"
directory: "repository" git config user.email "github-actions[bot]@users.noreply.github.com"
message: "Update Nextcloud Backup to ${{ steps.branch-names.outputs.current_branch }}.${{ github.run_number }}" git add .
branch: "${{ steps.branch-names.outputs.current_branch }}" git commit -m "Update Nextcloud Backup to ${{ steps.branch-names.outputs.current_branch }}.${{ github.run_number }}"
repository: "Sebclem/sebclem-hassio-addon-repository" git push