Skip to content

Instantly share code, notes, and snippets.

View albertgeorge56's full-sized avatar

albertgeorge56

View GitHub Profile
@albertgeorge56
albertgeorge56 / shared-deploy.md
Last active June 9, 2023 15:29
Github Action Setup

To automatically pull a Git repository using appleboy/ssh-action on a server with SSH access, you can follow these steps:

  1. Ensure that the server has SSH access and the necessary permissions to execute Git commands.

  2. Create an SSH key pair on your local machine (if you haven't already) by running the following command in your terminal:

    ssh-keygen -t rsa -b 4096 -C "your-email@example.com"
  3. Copy the public key (id_rsa.pub) generated in the previous step.

@albertgeorge56
albertgeorge56 / laravel_deployment.md
Last active February 12, 2023 14:12
Deployment Process for Laravel On AWS

Deploying Laravel to AWS

Installing PHP

sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt-cache search php