Skip to content

Commit f9a7da3

Browse files
committed
Update github workflow
1 parent bb5eae7 commit f9a7da3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ on:
77
jobs:
88
deploy:
99
runs-on: ubuntu-latest
10+
timeout-minutes: 5
1011

1112
steps:
12-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v4
1314

1415
- name: npm install
15-
uses: actions/setup-node@v1
16+
uses: actions/setup-node@v4
1617
with:
17-
node-version: '12'
18+
node-version: 20
1819
- run: npm install --only=dev
1920
- run: node scripts/ssr.js
2021
- run: BUCKET=${{secrets.BUCKET}} AWS_ACCESS_KEY_ID=${{secrets.AWS_ACCESS_KEY_ID}} AWS_SECRET_ACCESS_KEY=${{secrets.AWS_SECRET_ACCESS_KEY}} DISTRIBUTION_ID=${{secrets.DISTRIBUTION_ID}} node scripts/deploy.js

0 commit comments

Comments
 (0)