From a9247186fdfe07808a43e9252aede4414f676e05 Mon Sep 17 00:00:00 2001 From: biancabnd Date: Tue, 30 Jan 2024 11:02:19 +0100 Subject: [PATCH] Update workflow --- .github/workflows/build_docs.yaml | 6 ++++-- .github/workflows/upload-debians.yaml | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_docs.yaml b/.github/workflows/build_docs.yaml index d7093cae..970434b6 100644 --- a/.github/workflows/build_docs.yaml +++ b/.github/workflows/build_docs.yaml @@ -12,7 +12,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 with: - ref: ${{ github.event.pull_request.head.sha }} + ref: ${{ github.event.pull_request.head.ref }} - name: Set up Python uses: actions/setup-python@v5 @@ -35,7 +35,9 @@ jobs: - name: Build Documentation run: | make -C docs html # This assumes your Sphinx configuration is in a 'docs' folder - - uses: EndBug/add-and-commit@v9.1.4 + + - name: Add and commit + uses: EndBug/add-and-commit@v9.1.4 with: author_name: UMLDev Clang Robot author_email: dev@unmanned.life diff --git a/.github/workflows/upload-debians.yaml b/.github/workflows/upload-debians.yaml index 44677f9b..9cb4c741 100644 --- a/.github/workflows/upload-debians.yaml +++ b/.github/workflows/upload-debians.yaml @@ -2,7 +2,6 @@ name: Build Debians on: push: tags: - - 'v*' jobs: build_debians: