Skip to content

Commit

Permalink
Fix import statement for deploy script (github#21404)
Browse files Browse the repository at this point in the history
  • Loading branch information
rachmari authored Sep 10, 2021
1 parent f6d5963 commit 54cb650
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions script/deployment/deploy-to-staging.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import sleep from 'await-sleep'
import got from 'got'
import Heroku from 'heroku-client'
import core from '@actions/core'
import { setOutput } from '@actions/core'
import createStagingAppName from './create-staging-app-name.js'

const SLEEP_INTERVAL = 5000
Expand Down Expand Up @@ -109,8 +109,8 @@ export default async function deployToStaging({

// Set some output variables for workflow steps that run after this script
if (process.env.GITHUB_ACTIONS) {
core.setOutput('deploymentId', deploymentId)
core.setOutput('logUrl', logUrl)
setOutput('deploymentId', deploymentId)
setOutput('logUrl', logUrl)
}

await octokit.repos.createDeploymentStatus({
Expand Down

0 comments on commit 54cb650

Please sign in to comment.