mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-09 07:09:59 +01:00
push QCH file only if MR is accepted
fix errors due to github conflict editor being crappy
This commit is contained in:
3
.github/workflows/auto-doxygen.yml
vendored
3
.github/workflows/auto-doxygen.yml
vendored
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user