Skip to content

Commit b4fdaff

Browse files
committed
update to most recent actions versions
1 parent c912b36 commit b4fdaff

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build-and-deploy.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
runs-on: ubuntu-latest
1111
name: Build
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414
- name: Use Node.js
15-
uses: actions/setup-node@v3
15+
uses: actions/setup-node@v4
1616
with:
1717
node-version: 22.x
1818
cache: "npm"
1919
- run: npm install
2020
- run: npm run build --if-present
21-
- uses: actions/upload-artifact@v3
21+
- uses: actions/upload-artifact@v4
2222
with:
2323
name: app-build
2424
path: dist
@@ -27,15 +27,15 @@ jobs:
2727
name: Deploy to VPS
2828
steps:
2929
- name: Download build artifacts
30-
uses: actions/download-artifact@v3
30+
uses: actions/download-artifact@v4
3131
with:
3232
name: app-build
3333
- run: ls dist
3434
- name: Checkout
35-
uses: actions/checkout@v2
35+
uses: actions/checkout@v4
3636

3737
- name: Deploy to VPS
38-
uses: appleboy/ssh-action@v1.0.3
38+
uses: appleboy/ssh-action@v1
3939
with:
4040
host: ${{ secrets.SSH_HOST }}
4141
username: ${{ secrets.SSH_USERNAME }}

0 commit comments

Comments
 (0)