GitHub Actions CD Setup
Explore setting up continuous deployment workflows using GitHub Actions integrated with AWS Step Functions. Learn how to securely manage AWS credentials as GitHub secrets and automate deployment of serverless applications with the Serverless Framework. This lesson guides you through adding secrets, updating workflow files, and verifying successful deployment, enhancing your ability to automate CI/CD pipelines effectively.
We'll cover the following...
As we have the CI workflow up and running, we can extend our GitHub Actions workflow to deploy our serverless application if all tests pass. The deployment will be done using the sls deploy command from the Serverless Framework. We'll also need to securely pass AWS credentials to the GitHub Actions environment.
Adding secrets
Let's first add AWS credentials, to our GitHub repository:
Navigate to our GitHub repository in our web browser.
Click the “Settings” tab of the repository.
In the left sidebar, click “Secrets and variables.”
Click the ...