diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d4d9d1050..22bf2d79c 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -14,6 +14,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + - name: Setup Environment + id: setup + run: | + echo "commitHash=$(git describe --exact-match --tags 2> /dev/null || git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - name: Bump Version Number shell: bash if: github.event_name == 'push' @@ -45,7 +49,7 @@ jobs: pre_build_commands: 'pip install -Iv sphinx==5.1.1' - uses: actions/upload-artifact@v3 with: - name: OBS Studio Documentation (HTML) + name: 'OBS Studio Docs ${{ steps.setup.outputs.commitHash }}' path: | ${{ runner.temp }}/_github_home/_build !${{ runner.temp }}/_github_home/_build/.doctrees