Skip to content

Commit 8815ad1

Browse files
committed
Updating github workflow
1 parent 53b23a7 commit 8815ad1

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

.github/workflows/deploy.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,27 @@ jobs:
1111

1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v4
15+
16+
- name: Setup NodeJS
17+
uses: actions/setup-node@v4
1518

1619
- name: Install
17-
uses: borales/[email protected]
18-
with:
19-
cmd: install
20+
run: npm ci
2021

2122
- name: Build App
22-
uses: borales/[email protected]
23-
with:
24-
cmd: build
23+
run: npm run build
2524

2625
- name: Build Sitemap
27-
uses: borales/[email protected]
28-
with:
29-
cmd: sitemap
26+
run: npm run sitemap
3027

3128
- name: Install SSH Client
32-
uses: webfactory/ssh-agent@v0.5.4
29+
uses: webfactory/ssh-agent@v0.9.0
3330
with:
3431
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
3532

3633
- name: Deploy 🚀
37-
uses: JamesIves/github-pages-deploy-action@v4.4.0
34+
uses: JamesIves/github-pages-deploy-action@v4
3835
with:
3936
ssh-key: true
4037
folder: 'dist'

0 commit comments

Comments
 (0)