Skip to content

Instantly share code, notes, and snippets.

View sujinnaljin's full-sized avatar
๐Ÿ™‹โ€โ™€๏ธ
I'm Bob5

๊ฐ•์ˆ˜์ง„ sujinnaljin

๐Ÿ™‹โ€โ™€๏ธ
I'm Bob5
View GitHub Profile
@sigridjineth
sigridjineth / deploy_actions.md
Last active November 14, 2021 11:43
How to deploy using AWS CodeDeploy with GitHub Actions

How to deploy using AWS CodeDeploy with GitHub Actions

AWS CodeDeploy๋ฅผ ํ™œ์šฉํ•œ ๊นƒํ—™ ์•ก์…˜ ์‚ฌ์šฉ๋ฒ•

์Šคํ…

Step 1. ๋ณ„๋„์˜ deploy ๋ธŒ๋žœ์น˜๋ฅผ ๋งŒ๋“œ์„ธ์š”.

  • ์•„๋ž˜์˜ ์˜ˆ์‹œ์—์„œ๋Š” deploy-action์ž…๋‹ˆ๋‹ค.

Step 2. repo์˜ actions ํƒญ์„ ๋ˆŒ๋Ÿฌ์„œ ๋‹ค์Œ์˜ yml์„ ์ž…๋ ฅํ•˜์„ธ์š”.

  • GitHub Actions๋Š” ๋ณ„๋„์˜ ์ปจํ…Œ์ด๋„ˆ(AWS์™€ ๊ด€๋ จ์—†์Œ)์—์„œ ์ž๋ฐ” ๋นŒ๋“œํŒŒ์ผ์„ ๋งŒ๋“ค์–ด์„œ S3๋กœ ์••์ถ•ํŒŒ์ผ๋กœ ๋˜์ง‘๋‹ˆ๋‹ค.
  • AWS CodeDeploy๋Š” S3์— ์—…๋ฐ์ดํŠธ ๋œ ๋นŒ๋“œ ์••์ถ•ํŒŒ์ผ์„ ๋ฐ›์•„์„œ EC2์— ์ฝ”๋“œ ๋ฐฐํฌ๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.
@oozoofrog
oozoofrog / gist:07d7eec63750c4992b09e2709f180497
Last active July 23, 2024 09:52
ํ•œ๊ธ€ ์œ ๋‹ˆ์ฝ”๋“œ ๋‹ค๋ฃจ๊ธฐ
import Cocoa
var str = "๊ถ‰ํ† abcd์Šค234๊พนํƒ€ใ…Žํ•˜ํ›„ํ›ผ์˜"
extension Collection {
var toArray: [Element] {
return Array(self)
}
}
protocol UnicodeScalarCreatable {
@alexruperez
alexruperez / UIResponder+UserActivity.swift
Last active May 6, 2021 00:47
Take advantage of Siri Shortcuts, suggestions and smart reminders by setting a NSUserActivity to your UIViewController or any other UIResponder subclass.
//
// UIResponder+UserActivity.swift
//
import UIKit
import CoreSpotlight
import MapKit
public extension UIResponder {
@ccabanero
ccabanero / Sample iOS Unit Tests: Working with a ViewController composed of TableViews
Last active November 9, 2023 09:00
Sample iOS Unit Tests: Working with a ViewController composed of TableViews
import XCTest
@testable import YourAppTargetname
class SideMenuViewControllerTest: XCTestCase {
var viewControllerUnderTest: SideMenuViewController!
override func setUp() {
super.setUp()