From 314eaf7390d2dd64423b0b5c3520909158803bab Mon Sep 17 00:00:00 2001 From: boxanm Date: Tue, 7 May 2024 13:52:08 -0400 Subject: [PATCH] Use gh command to submit a PR for the website --- .github/workflows/update-API-documentation.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/update-API-documentation.yaml b/.github/workflows/update-API-documentation.yaml index 5fb7e6bf..e6e2dabc 100644 --- a/.github/workflows/update-API-documentation.yaml +++ b/.github/workflows/update-API-documentation.yaml @@ -69,3 +69,10 @@ jobs: git add libpointmatcher-doc git commit -m "Update documentation for new release" || exit 0 git push origin HEAD:refs/heads/update-libpointmatcher-docs --force + + - name: Create website PR + run: | + gh pr create --repo norlab-ulaval/norlab-ulaval.github.io -B master -H update-libpointmatcher-docs --title 'Update documentation for new release' --body 'Automated documentation update for new release from libpointmatcher' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +