mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-02 19:49: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:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
if: github.ref == 'refs/heads/master'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -35,8 +36,6 @@ jobs:
|
|||||||
git add .gitattributes ${{ github.workspace }}/doc/QElectroTech.qch -f
|
git add .gitattributes ${{ github.workspace }}/doc/QElectroTech.qch -f
|
||||||
git commit -m "Push updated QCH file"
|
git commit -m "Push updated QCH file"
|
||||||
git push
|
git push
|
||||||
- name: Run doxygen
|
|
||||||
run: doxygen Doxyfile
|
|
||||||
- uses: actions/upload-pages-artifact@v3
|
- uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: ${{ github.workspace }}/doc/html/
|
path: ${{ github.workspace }}/doc/html/
|
||||||
|
|||||||
Reference in New Issue
Block a user