Skip to content

Commit

Permalink
test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
unandyala committed Sep 3, 2024
1 parent 0a9df2e commit 969c15e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ jobs:
run: |
set -e
echo "PROJECT_SLUG=scaffold-pwa" >> $GITHUB_ENV
echo "BRANCH_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV
echo "Branch name is: ${{ github.ref_name }}"
branch_name="${GITHUB_REF##*/}"
# Trim using cut as MRT target name is limited to 19 chars
mrt_target_name=$(echo "$branch_name" | cut -c 1-19)
echo "Trimmed branch name: $mrt_target_name"
echo "MRT_TARGET_NAME=$mrt_target_name" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -56,5 +61,5 @@ jobs:
uses: "./.github/actions/push_to_mrt"
with:
CWD: "."
TARGET: ${{ env.BRANCH_NAME }}
TARGET: ${{ env.MRT_TARGET_NAME }}
FLAGS: --wait

0 comments on commit 969c15e

Please sign in to comment.