diff --git a/.github/workflows/branch-deploy.yml b/.github/workflows/branch-deploy.yml index b0c45dbda0..bf465cd42c 100644 --- a/.github/workflows/branch-deploy.yml +++ b/.github/workflows/branch-deploy.yml @@ -17,7 +17,7 @@ jobs: branch_name=$(hub branch | grep "*" | sed -e 's/^\*//') echo $branch_name echo ::set-output name=branch::${branch_name} - tag=$(echo $branch_name | sed 's/\//-/g' | sed 's/\./-/g' | sed 's/\_/-/g' | cut -c1-32) + tag=$(echo $branch_name | sed 's/\//-/g' | sed 's/\./-/g' | sed 's/\_/-/g' | sed -e 's/\(.*\)/\L\1/' | cut -c1-32) echo ::set-output name=tag::${tag} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}