diff --git a/build/index.js b/build/index.js index 383ee21..68f762d 100644 --- a/build/index.js +++ b/build/index.js @@ -4,9 +4,9 @@ const exec = require('@actions/exec'); const checkCLI = require('../util/cli'); checkCLI().then(() => { - return exec.exec('fastly', ['compute', 'build'], { + return exec.exec('fastly', ['compute', 'build', '-v'], { cwd: core.getInput('project_directory') }); }).catch((err) => { core.setFailed(err.message); -}); \ No newline at end of file +}); diff --git a/deploy/index.js b/deploy/index.js index 2e29159..fed74e4 100644 --- a/deploy/index.js +++ b/deploy/index.js @@ -10,7 +10,7 @@ const projectDirectory = core.getInput('project_directory'); const serviceId = core.getInput('service_id'); checkCLI().then(async () => { - let params = ['compute', 'deploy']; + let params = ['compute', 'deploy', '-v']; if (serviceId !== 'default') params.push(['--service-id', serviceId]); const result = await exec.exec('fastly', params, { cwd: projectDirectory @@ -32,4 +32,4 @@ async function uploadArtifact() { const artifactClient = artifact.create(); await artifactClient.uploadArtifact(artifactName, files, '.', {}); -} \ No newline at end of file +}