Skip to content

Add Twilio Neon Worker Deployment Workflow and Initial Setup #1101

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

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

JoftheV
Copy link

@JoftheV JoftheV commented Jun 18, 2025

Status Type Env Vars Change
Ready Feature Yes

⚠️ NOTE: Ensure that the CF_API_TOKEN secret is set up in GitHub for deployment.

Problem

  • Need to deploy a Twilio Neon Worker using Cloudflare Workers.
  • Initial setup required for the Twilio-integrated application.

Solution

  • Added a GitHub Actions workflow (deploy.yml) to automate deployment on pushes to the main branch.
  • Created initial TypeScript and JavaScript files for handling incoming requests and providing automated responses.
  • Configured TypeScript settings and Cloudflare Worker deployment options.

Test results

Add your screenshots or recording about testing

Other changes

  • Added an empty README.md for future documentation.
  • Created an empty send-whatsapp.js script for potential future functionality.

Deploy Notes

There are no new dependencies, scripts, or environment variables introduced with this PR.

**New environment variables **:

  • CF_API_TOKEN: Required for authenticating Cloudflare deployments.

New dependencies:

  • dotenv: For managing environment variables.
  • php: As a dependency, though its use is not clear yet.
  • twilio: For interacting with Twilio services.

New dev dependencies:

  • @cloudflare/workers-types: TypeScript types for Cloudflare Workers.
  • typescript: For TypeScript support.

Copy link
Author

@JoftheV JoftheV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approve and change CF_API_TOKEN to CLOUDFLARE_API_TOKEN

Copy link
Author

@JoftheV JoftheV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve and commit

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.

2 participants