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 a271de9fa Fix conditional, simplify workflow. a271de9fa is described below commit a271de9fa00740b2e2a03261216c2ddc9a4fe1d0 Author: Tomaz Muraus <to...@tomaz.me> AuthorDate: Fri Aug 4 15:26:26 2023 +0200 Fix conditional, simplify workflow. --- .github/workflows/main.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 468b01534..a026264c4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -372,16 +372,11 @@ jobs: run: | tox -e docs-ci - - name: Extract branch name - id: extract_branch - run: | - echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT - - name: Trigger ReadTheDocs build - if: ${{ github.ref_name == "trunk" }} + if: ${{ github.ref_name == 'trunk' }} env: RTD_TOKEN: ${{ secrets.RTD_TOKEN }} - BRANCH_NAME: ${{ steps.extract_branch.outputs.branch }} + BRANCH_NAME: "trunk" run: | pip install requests python ./contrib/trigger_rtd_build.py