build pkg on all branched deploy docs on main

This commit is contained in:
froejdh_e 2024-11-29 16:41:42 +01:00
parent c2d039a5bd
commit b43003966f

View File

@ -3,8 +3,7 @@ name: Build the package using cmake then documentation
on:
workflow_dispatch:
push:
branches:
- main
permissions:
@ -58,6 +57,7 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main'
steps:
- name: Deploy to GitHub Pages
id: deployment