From 0aa44aa4bb489a840149c094422f5f7b494d9555 Mon Sep 17 00:00:00 2001 From: Rick Staa Date: Fri, 16 Aug 2024 19:20:26 +0200 Subject: [PATCH] ci(ai): add temporary ai-video latest binary url upload This commit ensures that the `build.yaml` action script also creates a release under a `ai-video/latest` path. This was done to simplify the binary installation in the docs. --- .github/workflows/build.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 329b825f70..e7d0bdc21f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -317,6 +317,17 @@ jobs: parent: false process_gcloudignore: false + # Create temporary latest url for the 'ai-video' branch. + # TODO: Once 'ai-video' is merged into the main branch, this section should be removed. + - name: Upload release archives to latest url + if: startsWith(github.ref, 'refs/tags/') && github.ref_name == 'ai-video' && env.current_tag == env.highest_tag + uses: google-github-actions/upload-cloud-storage@v2 + with: + path: "releases" + destination: "build.livepeer.live/go-livepeer/ai-video/latest" + parent: false + process_gcloudignore: false + - name: Trigger discord webhook shell: bash env: