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 40e71c4 fix: use environment file to pass DEPLOY_URL 40e71c4 is described below commit 40e71c4870807f378de3ee024f9bf2d2ae696250 Author: Zoran Regvart <zregv...@apache.org> AuthorDate: Mon Dec 28 11:43:58 2020 +0100 fix: use environment file to pass DEPLOY_URL --- .github/workflows/pr.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index b9ba4ce..e7b9b4a 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -52,7 +52,7 @@ jobs: - 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) - echo "::set-output name=DEPLOY_URL::${DEPLOY_URL}" + echo "DEPLOY_URL=${DEPLOY_URL}" >> $GITHUB_ENV env: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} @@ -64,7 +64,7 @@ jobs: issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - body: `🚀 Preview is available at ${core.getInput('DEPLOY_URL')}` + body: `🚀 Preview for ${process.env.GITHUB_SHA} is available at ${process.env.DEPLOY_URL}` }) checks: needs: build