You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2020/12/28 12:09:01 UTC

[camel-website] branch master updated: refactor: remove quotes around DEPLOY_URL

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

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 9a2637d  refactor: remove quotes around DEPLOY_URL
9a2637d is described below

commit 9a2637dba50fa42b14e7346c7c7ef7fa1fd63781
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Mon Dec 28 13:08:49 2020 +0100

    refactor: remove quotes around DEPLOY_URL
---
 .github/workflows/pr.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml
index 52e3dcf..0fcf8a7 100644
--- a/.github/workflows/pr.yaml
+++ b/.github/workflows/pr.yaml
@@ -58,7 +58,7 @@ jobs:
           path: public
       - name: Preview on Netlify
         run: |
-          DEPLOY_URL=$(yarn preview:netlify --alias="${GITHUB_SHA}" --message="Preview for ${GITHUB_SHA}" --json 2> /dev/null |jq .deploy_url)
+          DEPLOY_URL=$(yarn preview:netlify --alias="${GITHUB_SHA}" --message="Preview for ${GITHUB_SHA}" --json 2> /dev/null |jq -r .deploy_url)
           echo "DEPLOY_URL=${DEPLOY_URL}" >> $GITHUB_ENV
         env:
           NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}