๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๐Ÿ‘ฉ‍๐Ÿ’ป Learn programming

[GIT] GitHub Action

by ๋ฐ๊ตฅ์ž‰ 2022. 4. 26.
๋ฐ˜์‘ํ˜•

๐Ÿฑ GitHub Action

 

1. GitHub Action 

โœ… GitHub Action์€ Github์—์„œ ์ œ๊ณตํ•˜๋Š” ๋ฐฐํฌ ์„œ๋น„์Šค.

โœ… Github๊ฐ€ MS์— ์ธ์ˆ˜๋˜๋ฉด์„œ ๊ธฐ์กด์˜ ์†Œ์Šค์ €์žฅ์†Œ์˜ ๊ธฐ๋Šฅ์—์„œ DevOps ํ”Œ๋žซํผ์œผ๋กœ ๋ฐœ์ „.

โœ… ๋น„์Šทํ•œ ์„œ๋น„์Šค๋กœ๋Š” Gitlab, Bitbucket ๋“ฑ์ด ์žˆ์Œ.

 

โœ… ์š”์ฆ˜ ํŠธ๋žœ๋“œ๋Š” CI/CD์˜ ํ†ตํ•ฉ.

  • CI : Continuous Integration, ํ˜•์ƒ๊ด€๋ฆฌ๋กœ ๊ณ„์† ํ†ตํ•ฉํ•˜๋Š” ๊ฒƒ, (Github๋งŒ ์“ฐ๋ฉด CI)
  • CD : Continuous Delivery, ์†Œ์Šค๊ฐ€ ์‹ค์ œ ์šด์˜ ์„œ๋น„์Šค์— ๋”œ๋ฆฌ๋ฒ„๋ฆฌ๋˜๋Š” ๊ฒƒ

โœ… ์†Œ์Šค ์ €์žฅ์†Œ์™€ ๋ฐฐํฌ ์‹œ์Šคํ…œ์„ ํ†ตํ•ฉํ•˜๋Š” ๊ฒƒ.

โœ… ์•„ํ‚คํ…์ฒ˜์˜ ๋ณ€ํ™”๋กœ ์ž‘์•„์ง„ ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜๋“ค์„ ๋ถ€๋‹ด์—†์ด ์ž์ฃผ ๋ฐฐํฌํ•˜๊ธฐ ์œ„ํ•จ.

 

โœ… GitHub Action์€ ๊ฐ„๋‹จํ•˜๊ฒŒ ์„œ๋ฒ„์— ์†Œ์Šค๋ฅผ ๋ฐฐํฌํ•˜๋Š” ์„œ๋น„์Šค

โฌ‡๏ธ ์‚ฌ์šฉ๋ฒ• : GitHub ์†Œ์Šค repo์— ์•„๋ž˜ ํŒŒ์ผ ์ถ”๊ฐ€

.github/workflows/main.yml

 

*๏ธโƒฃ GitHub Action

 

 

GitHub Actions Documentation - GitHub Docs

Automate, customize, and execute your software development workflows right in your repository with GitHub Actions. You can discover, create, and share actions to perform any job you'd like, including CI/CD, and combine actions in a completely customized wo

docs.github.com

 

๋ฐ˜์‘ํ˜•