Skip to content

Commit

Permalink
Fixed script termination issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Akalanka47000 committed Jun 18, 2023
1 parent c17f3cc commit 80583a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/alert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Sentinel Alerts

on:
schedule:
- cron: '* */4 * * *'
- cron: '0 0 * * *'

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ const pages = process.env.SENTINEL_PAGE_CONFIG ? JSON.parse(process.env.SENTINEL
`,
});
}

await pipeline.exec();
process.exit(0);
})();

0 comments on commit 80583a0

Please sign in to comment.