Skip to content

Commit 5c66396

Browse files
committed
second commit
1 parent 7970f35 commit 5c66396

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,17 @@ jobs:
2525
- name: 여러 명령어 문장 작성하기
2626
run: |
2727
echo "Good"
28-
echo "Morning"
28+
echo "Morning"
29+
30+
- name: Github Actions 자체에 저장되어 있는 변수 사용해보기
31+
run: |
32+
echo $GITHUB_SHA # 커밋의 ID
33+
echo $GITHUB_REPOSITORY
34+
35+
- name: Github Actions Secret 변수 사용해보기
36+
# 민감한 값들 예) 비밀번호, 토큰, API 키 등등..
37+
run: |
38+
echo ${{ secrets.MY_NAME }}
39+
echo ${{ secrets.MY_HOBBY }}
40+
41+

0 commit comments

Comments
 (0)