Skip to content

Commit

Permalink
fix: Include preview for inactive state
Browse files Browse the repository at this point in the history
  • Loading branch information
colinjfw committed Sep 29, 2019
1 parent de6b027 commit 4b47dd7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ async function status(state) {
deployment_id: deployment.id,
state,
log_url: url,
target_url: url
target_url: url,
headers: {
accept: 'application/vnd.github.ant-man-preview+json'
}
});
} catch (error) {
core.warning(`Failed to set deployment status: ${error.message}`);
Expand Down

0 comments on commit 4b47dd7

Please sign in to comment.