Skip to content

Instantly share code, notes, and snippets.

View Yunnie-pin's full-sized avatar
💀
Overworked

Arifin Yunianta Yunnie-pin

💀
Overworked
View GitHub Profile
@Yunnie-pin
Yunnie-pin / GitHub-action-laravel-envoy.md
Created June 23, 2023 11:34
contoh konfigurasi ci/cd GitHub action untuk deploy aplikasi Laravel menggunakan Laravel envoy

guide

  1. create new folder .github/workflows in laravel app root dir
  2. create new file deploy.yml in workflows folder
  3. open repo settings secrets menu
  4. add new secret SSH_PRIVATE_KEY
  5. add new secret SSH_HOST
  6. add deploy keys with your ssh pubkey (optional)
  7. add this configuration template in deploy.yml file:
{
"Contact" : [
{
"name" : "Arifin Yunianta",
"type" : "Facebook",
"url" : "facebook.com/artknight404"
},
{
"name" : "Arifin Yunianta",
"type" : "LinkedIn",