GitHub Actions Code Deploy Git Pull

사용처

build 과정 없이 script만 배포하면 되는 project

Setup - github actions, code deploy

GitHub Actions - S3 - Code Deploy 참고

Code deplay - git pull

# after-install__test.sh

#!/bin/bash
cd /var/www/html/biz
ssh -vT git@github.com # https://docs.github.com/en/authentication/troubleshooting-ssh/error-permission-denied-publickey#always-use-the-git-user
git fetch --prune
git checkout origin/test
git pull origin test

git auth 참고 링크


Backlinks