From a9717c12fd0b5f59c62d4ff3782d381ef9a0e926 Mon Sep 17 00:00:00 2001 From: Sascha Eglau Date: Thu, 11 Apr 2024 20:24:44 +0800 Subject: [PATCH] fix: stop using backticks --- README.md | 2 +- action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3228739..6762326 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ jobs: - name: Build & Push Image to Molnett run: | molnctl auth docker - IMAGE_NAME=`molnctl svcs image-name -u molnett.yaml` + IMAGE_NAME=$(molnctl svcs image-name -u molnett.yaml) docker buildx build . -t $IMAGE_NAME docker push $IMAGE_NAME - name: Deploy Ephemeral Environment diff --git a/action.yml b/action.yml index d195d3e..2727794 100644 --- a/action.yml +++ b/action.yml @@ -47,7 +47,7 @@ runs: ENV_NAME: pr-${{ github.event.number }}-${{ github.head_ref }} run: | # Replace special characters in branch name with dash - ENV_NAME=`echo $ENV_NAME | tr $'!\'#$%&()+,-./;<=>@]_\`{|}' '-'` + ENV_NAME=$(echo $ENV_NAME | tr $'!\'#$%&()+,-./;<=>@]_\`{|}' '-') echo "env=$ENV_NAME" >> $GITHUB_OUTPUT - name: Deploy Ephemeral Environment id: deploy