Skip to content
This repository has been archived by the owner on Aug 7, 2021. It is now read-only.

Commit

Permalink
🚀 Deploy new version [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
pabio-escobar committed Dec 8, 2020
1 parent b2899a6 commit f43b6d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119619,7 +119619,7 @@ const run = async () => {
throw new Error("GitHub token not found");
const [owner, repo] = (process.env.GITHUB_REPOSITORY || "").split("/");
const octokit = github_1.getOctokit(token);
const runs = await octokit.actions.listWorkflowRunsForRepo({ owner, repo });
const runs = await octokit.actions.listWorkflowRunsForRepo({ owner, repo, status: "completed" });
const lastRun = runs.data.workflow_runs.find((run) => run.workflow_id === 4116102);
let lastDate = new Date("1970-01-01");
if (lastRun)
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

0 comments on commit f43b6d4

Please sign in to comment.