Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto health check #6

Open
PM-KIRILL opened this issue Oct 25, 2024 · 3 comments
Open

Auto health check #6

PM-KIRILL opened this issue Oct 25, 2024 · 3 comments

Comments

@PM-KIRILL
Copy link

Hello, I deployed a page on Vercel; how can I set up automatic monitoring of website status?

@PM-KIRILL
Copy link
Author

I added a GitHub token to the .env file, but I'm not sure if it's correct. Should the token start with the ghp_ prefix?"

@PM-KIRILL
Copy link
Author

The requested URL returned error: 403
Error: Process completed with exit code 128.

@roiLeo
Copy link
Owner

roiLeo commented Oct 28, 2024

Hello,
in order to monitor a new website, you'll need to:

  • create a .yaml file in /content/urls with the website config
  • now you should be able to run sh .script/health-check.sh

Now to automate heal-check with github actions you'll need to change "Workflow permissions" in your gh project settings.
(Settings > Actions > General > Workflow permissions, and check "Read and write permissions")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants