push QCH file only if MR is accepted

fix errors due to github conflict editor being crappy
This commit is contained in:
Int-Circuit
2025-08-04 16:06:40 +02:00
parent 73e673ef8a
commit 94269afc76

View File

@@ -16,6 +16,7 @@ jobs:
permissions:
contents: write
runs-on: ubuntu-24.04
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v4
with:
@@ -35,8 +36,6 @@ jobs:
git add .gitattributes ${{ github.workspace }}/doc/QElectroTech.qch -f
git commit -m "Push updated QCH file"
git push
- name: Run doxygen
run: doxygen Doxyfile
- uses: actions/upload-pages-artifact@v3
with:
path: ${{ github.workspace }}/doc/html/