GitHub Action to Deploy Laravel Vapor Apps

Published under Laravel.

Here's a quick GitHub Actions file you can use to deploy Laravel Vapor applications.

  • Uses MySQL 8.0

  • Uses PHP 7.4

  • Runs phpcs and phpunit

  • Deploys staging branch to the staging Vapor environment

  • Deploys master branch to the production Vapor environment

Feel free to change any details to suite your application.

The only requirement is you will need to define a VAPOR_API_TOKEN secret.


Thanks for reading!

Did you find this post useful? Let me know on Twitter! If you found an issue with the content, submit a pull request!

Subscribe to my newsletter to know when I publish more content in the future.

❤️ Likes: 0
📣 Retweets: 0
💬 Replies: 0
🙊 Mentions: 0