This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 1d0266f30 Only trigger rtd build for trunk branch runs.
1d0266f30 is described below

commit 1d0266f30b8ad4e372d710e4c9f48b0cbe105413
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Fri Aug 4 15:24:09 2023 +0200

    Only trigger rtd build for trunk branch runs.
---
 .github/workflows/main.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 5968f3951..468b01534 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -378,6 +378,7 @@ jobs:
           echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> 
$GITHUB_OUTPUT
 
       - name: Trigger ReadTheDocs build
+        if: ${{ github.ref_name == "trunk" }}
         env:
           RTD_TOKEN: ${{ secrets.RTD_TOKEN }}
           BRANCH_NAME: ${{ steps.extract_branch.outputs.branch }}

Reply via email to