coding

GitHub Actions Workflow for CI/CD

Set up a GitHub Actions workflow for continuous integration

The Prompt
Generate a GitHub Actions YAML file that runs tests, builds the project, and deploys to [DEPLOYMENT_TARGET] on every push to the main branch. Include steps for caching dependencies and notifying Slack on failure. Replace [DEPLOYMENT_TARGET] with your deployment platform (e.g., AWS, Heroku).

Get 10 fresh prompts weekly — free, no spam.

When to use this

For automating software deployment workflows.

Pro tips

  • Add environment variable management.
  • Include rollback steps for failed deployments.

⚡ Level up — premium tools for this

More coding prompts