mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-07 13:10:42 +02:00
build pkg on all branched deploy docs on main
This commit is contained in:
parent
c2d039a5bd
commit
b43003966f
4
.github/workflows/build_docs.yml
vendored
4
.github/workflows/build_docs.yml
vendored
@ -3,8 +3,7 @@ name: Build the package using cmake then documentation
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@ -58,6 +57,7 @@ jobs:
|
|||||||
url: ${{ steps.deployment.outputs.page_url }}
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
if: github.ref == 'refs/heads/main'
|
||||||
steps:
|
steps:
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
|
Loading…
x
Reference in New Issue
Block a user