modified: .gitea/workflows/lightless-tag-and-release.yml
Some checks failed
Tag and Release Lightless / tag-and-release (push) Failing after 2m38s

This commit is contained in:
2026-01-08 18:56:49 +01:00
parent 966e4a090d
commit cf60a3a0b3

View File

@@ -2,7 +2,7 @@ name: Tag and Release Lightless
on: on:
push: push:
branches: [ master, dev ] branches: [ master, dev, ci-cd-rework ]
env: env:
PLUGIN_NAME: LightlessSync PLUGIN_NAME: LightlessSync
@@ -268,11 +268,11 @@ jobs:
echo "$updatedRepoJson" > "$repoJsonPath" echo "$updatedRepoJson" > "$repoJsonPath"
cat "$repoJsonPath" cat "$repoJsonPath"
- name: Commit and push to LightlessSync # - name: Commit and push to LightlessSync
run: | # run: |
cd LightlessSyncRepo/LightlessSync # cd LightlessSyncRepo/LightlessSync
git config user.name "Gitea-Automation" # git config user.name "Gitea-Automation"
git config user.email "aaa@aaaaaaa.aaa" # git config user.email "aaa@aaaaaaa.aaa"
git add . # git add .
git diff-index --quiet HEAD || git commit -m "Update ${{ env.PLUGIN_NAME }} to ${{ steps.package_version.outputs.version }}" # git diff-index --quiet HEAD || git commit -m "Update ${{ env.PLUGIN_NAME }} to ${{ steps.package_version.outputs.version }}"
git push https://x-access-token:${{ secrets.AUTOMATION_TOKEN }}@git.lightless-sync.org/${{ gitea.repository_owner }}/LightlessSync.git HEAD:main # git push https://x-access-token:${{ secrets.AUTOMATION_TOKEN }}@git.lightless-sync.org/${{ gitea.repository_owner }}/LightlessSync.git HEAD:main