![]() Now that you have a copy of the project it's time to add Twilio SMS to a workflow. Head over to and click the "Use this template" button to create a copy of this for your own account. If you already have your own GitHub Actions workflow that you want to add Twilio SMS to, feel free to skip this step. If you haven't created one before, GitHub offers you a selection of helpful templates based on the programming language of your project.įor this blog post we'll work off a template repository that represents a barebones Node.js module with an existing GitHub Actions workflow which publishes the package to the GitHub package registry whenever a release has been created. The Twilio SMS Action can be used like any other GitHub Action by adding an entry to the YAML configuration file of an Actions workflow. This way your key & secret won't be able to control of your account or create new keys.Īfter creating the new key/secret pair, make sure to securely store those somewhere, because once you close this dialog, you won't be able to retrieve the secret again. Fill out the form to create a new pair and make sure to pick "Standard" for the type. You can generate multiples of these credentials for different use cases, and if a pair gets compromised not every use case of your account is compromised.Ĭreate an API Key and Secret by going to your account settings in the Twilio Console and choose the API Keys section. Make sure to note down the Account SID as we'll need that one later.Ī better approach is to use an API Key and API Secret pair. You can find those two credentials in the home section of the Twilio Console. These always work with the API but if they get compromised you'll have to recycle them for every app. The Account SID is your account identifier and the Auth Token is basically your master key. ![]() By default you get a paired Account SID and Auth Token. ![]() You can have two types of account credentials with Twilio. We'll need it later when we configure the Action. Once you have that phone number, make sure to note it down somewhere. Make sure it has SMS capabilities enabled. If you haven't gotten a phone number yet, head over to the Phone Numbers section of the Twilio Console and select your preferred phone number. Once you have an account, we'll need two additional things. Sign up for free to get your account details. ![]() Before using it, you'll need a Twilio account. You can find the Twilio SMS Action in the GitHub Marketplace. In this blog post we'll look at how you can get started with that and some use cases for it. We are very excited about this launch and as part of it have launched the Twilio SMS for GitHub Action. At GitHub Universe 2019, GitHub announced that Actions have been moved into General Availability. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |