Skip to content

Commit

Permalink
[ghactions] Synchronize ghactions workflow with main
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentzell committed Aug 2, 2024
1 parent 0b99835 commit d37ab42
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: build

on:
push:
branches: [ 1.1.x ]
branches: [ main, '[0-9]+.[0-9]+.x' ]
pull_request:
branches: [ 1.1.x ]
branches: [ main, '[0-9]+.[0-9]+.x' ]
workflow_call:
workflow_dispatch:

Expand Down Expand Up @@ -113,9 +113,9 @@ jobs:
key: ccache-${{ matrix.os }}-${{ matrix.cc }}-${{ github.run_id }}

- name: Deploy documentation to website
if: matrix.doc == 'ON' && github.ref == 'refs/heads/1.1.x'
if: matrix.doc == 'ON' && github.event_name == 'push'
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build/doc/html
branch: github.io
target-folder: docs/1.1.x
target-folder: docs/${{ github.ref_name }}

0 comments on commit d37ab42

Please sign in to comment.