We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 086c244 commit cb4a399Copy full SHA for cb4a399
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,36 @@
1
+name: Deploy Gatsby Blog
2
+
3
+# 매일 22시, 이벤트가 발생한다
4
+on:
5
+ schedule:
6
+ - cron: "0 13 * * *"
7
+ workflow_dispatch:
8
9
+# 반복 단계를 재사용하기 위해 action 사용
10
+jobs:
11
+ deploy:
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: Debug List Files
16
+ - run: ls -al
17
18
+ - name: Checkout Repository
19
+ uses: actions/checkout@v4
20
21
+ - name: Setup Node.js
22
+ uses: actions/setup-node@v4
23
+ with:
24
+ node-version: 20.3.1
25
+ cache: 'yarn'
26
27
+ - name: Check Node.js & Yarn Version
28
+ run: | # 파이프는 여러 줄 출력에 사용한다
29
+ node --version
30
+ yarn --version
31
32
+ - name: Install Dependencies
33
+ run: yarn install
34
35
+ - name: Deploy Gatsby Blog
36
+ run: yarn run deploy-gh
0 commit comments