AWS S3 서비스를 사용하여 정적 파일을 업로드 시
외부에서도 해당 파일에 대해 접근이 필요할 때도 있다.
이 글에서는 어떻게 Public Access 할 수 있는지 알아보자.
Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
You must write an algorithm with O(log n) runtime complexity.
You are given an array of k linked-lists lists, each linked-list is sorted in ascending order.
Merge all the linked-lists into one sorted linked-list and return it.
Write an algorithm to determine if a number n is happy.
A happy number is a number defined by the following process:
Starting with any positive integer, replace the number by the sum of the squares of its digits.
Repeat the process until the number equals 1 (where it will stay), or it loops endlessly in a cycle which does not include 1.
Those numbers for which this process ends in 1 are happy.
Return true if n is a happy number, and false if not.
Github Action을 사용하면
젠킨스와 같은 다른 툴을 사용하지 않고 CI(Continuous Integration)가 가능하다.
그런데 일반적으로
DB 정보와 같은 값들을 가진 resource 파일은
ignore 처리를 하여 Repository에 노출하지 않는다.
그러므로 만약 빌드 시 resource 정보를 참조해야 하는 경우엔 빌드를 실패하게 된다.
그래서 이 글에서는
빌드를 성공하기 위해 Github Action에서 동적으로 변수에 값을 주입하는 방법에 대해 알아본다.