modified: .gitea/workflows/lightless-tag-and-release.yml
Some checks failed
Tag and Release Lightless / tag-and-release (push) Failing after 2m38s
Some checks failed
Tag and Release Lightless / tag-and-release (push) Failing after 2m38s
This commit is contained in:
@@ -2,7 +2,7 @@ name: Tag and Release Lightless
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master, dev ]
|
||||
branches: [ master, dev, ci-cd-rework ]
|
||||
|
||||
env:
|
||||
PLUGIN_NAME: LightlessSync
|
||||
@@ -268,11 +268,11 @@ jobs:
|
||||
echo "$updatedRepoJson" > "$repoJsonPath"
|
||||
cat "$repoJsonPath"
|
||||
|
||||
- name: Commit and push to LightlessSync
|
||||
run: |
|
||||
cd LightlessSyncRepo/LightlessSync
|
||||
git config user.name "Gitea-Automation"
|
||||
git config user.email "aaa@aaaaaaa.aaa"
|
||||
git add .
|
||||
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
|
||||
# - name: Commit and push to LightlessSync
|
||||
# run: |
|
||||
# cd LightlessSyncRepo/LightlessSync
|
||||
# git config user.name "Gitea-Automation"
|
||||
# git config user.email "aaa@aaaaaaa.aaa"
|
||||
# git add .
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user