We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4becb9a commit 38177bdCopy full SHA for 38177bd
.github/workflows/deploy-to-control-plane-review-app.yml
@@ -23,6 +23,7 @@ env:
23
CPLN_TOKEN: ${{ secrets.CPLN_TOKEN_STAGING }}
24
CPLN_ORG: ${{ vars.CPLN_ORG_STAGING }}
25
PR_NUMBER: ${{ github.event.pull_request.number || github.event.issue.number || github.event.inputs.pr_number }}
26
+ PR_SHA: ${{ github.sha }}
27
28
jobs:
29
debug:
@@ -198,7 +199,7 @@ jobs:
198
199
id: init-deployment
200
with:
201
script: |
- const ref = github.sha;
202
+ const ref = process.env.PR_SHA;
203
const environment = process.env.ENVIRONMENT_NAME || 'review-app';
204
205
const deployment = await github.rest.repos.createDeployment({
0 commit comments