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

feature: notify DatoCMS of Cloudflare deploy status #66

Merged
merged 4 commits into from
Dec 24, 2023

Conversation

jbmoelker
Copy link
Member

@jbmoelker jbmoelker commented Nov 20, 2023

Changes

Associated issue

Resolves #12

How to test

Custom deploy hook with payload { "branch": "feat/deploy-status" } in DatoCMS:

image

"Notified DatoCMS of deploy status: success" in Cloudflare Pages build logs:

image

"Build completed with success" in DatoCMS deployment logs

image

Checklist

  • I have performed a self-review of my own code
  • I have made sure that my PR is easy to review (not too big, includes comments)
  • I have added/updated tests to prove that my feature works (if not possible please explain why)
  • [z] I have made changes to the README and if the change affects the project setup (npm commands changed, new service added, environmental variable added)
  • I have added a decision log entry if the change affects the architecture or changes a significant technology
  • I have notified a reviewer

@jbmoelker jbmoelker self-assigned this Nov 20, 2023
Copy link

cloudflare-workers-and-pages bot commented Nov 22, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: b82117f
Status: ✅  Deploy successful!
Preview URL: https://e60c3fe9.head-start.pages.dev
Branch Preview URL: https://feat-deploy-status.head-start.pages.dev

View logs

@jbmoelker jbmoelker changed the title feat(deploy-status): notify DatoCMS on Cloudflare build feature: notify DatoCMS of Cloudflare deploy status Nov 22, 2023
@jbmoelker jbmoelker added help wanted Extra attention is needed question Further information is requested labels Nov 23, 2023
package.json Outdated Show resolved Hide resolved
@jbmoelker jbmoelker removed the help wanted Extra attention is needed label Nov 23, 2023
@jbmoelker jbmoelker mentioned this pull request Dec 18, 2023
3 tasks
@jbmoelker jbmoelker removed the question Further information is requested label Dec 24, 2023
@jbmoelker jbmoelker marked this pull request as ready for review December 24, 2023 11:39
@jbmoelker jbmoelker merged commit 5b9825e into main Dec 24, 2023
2 checks passed
@jbmoelker jbmoelker deleted the feat/deploy-status branch December 24, 2023 11:41
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

Successfully merging this pull request may close these issues.

Cloudflare deploys should notify DatoCMS on deploy status
1 participant