Skip to content

Commit ab9e83b

Browse files
committed
升级 Action 版本
1 parent a388d88 commit ab9e83b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ jobs:
1111
steps:
1212
# https://github.com/actions/checkout
1313
- name: Checkout 🛎️
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515
with:
1616
submodules: recursive
1717
fetch-depth: 0
1818

1919
# https://github.com/actions/setup-node
2020
- name: Setup Node.js 🕸
21-
uses: actions/setup-node@v3
21+
uses: actions/setup-node@v4
2222
with:
2323
# https://github.com/nvm-sh/nvm#long-term-support
2424
node-version: 'lts/*'
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup Ruby 💎
2828
uses: ruby/setup-ruby@v1
2929
with:
30-
ruby-version: 3.1
30+
ruby-version: 3.3
3131

3232
- name: Install AsciiDoctor 🐶
3333
run: |
@@ -81,8 +81,9 @@ jobs:
8181
mv $fn $f
8282
done
8383
84+
# https://github.com/Burnett01/rsync-deployments
8485
- name: Rsync Deploy 🏹
85-
uses: burnett01/rsync-deployments@5.2
86+
uses: burnett01/rsync-deployments@7.0.2
8687
with:
8788
switches: -avzr --delete --exclude=".*" ./assets ./*.html
8889
path: .
@@ -92,8 +93,9 @@ jobs:
9293
remote_user: ${{ secrets.DEPLOY_USER }}
9394
remote_key: ${{ secrets.DEPLOY_KEY }}
9495

96+
#
9597
- name: Change Files Mod 🔐
96-
uses: appleboy/ssh-action@master
98+
uses: appleboy/ssh-action@v1.2.2
9799
with:
98100
host: ${{ secrets.DEPLOY_HOST }}
99101
port: ${{ secrets.DEPLOY_PORT }}

0 commit comments

Comments
 (0)