Update nodejs.yml

This commit is contained in:
2021-04-26 11:29:13 +08:00
committed by GitHub
parent 7658032879
commit 9f1b491e3e
+2 -3
View File
@@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
node-version: [12.x]
node-version: [14.x]
steps:
- uses: actions/checkout@v2
@@ -19,11 +19,10 @@ jobs:
- run: npm install
- run: npm run build --if-present
- name: FTP Deploy
uses: SamKirkland/FTP-Deploy-Action@3.0.0
uses: SamKirkland/FTP-Deploy-Action@3.1.1
with:
ftp-server: ${{ secrets.ftp_server }}
ftp-username: ${{ secrets.ftp_user }}
ftp-password: ${{ secrets.ftp_pwd }}
local-dir: var/www/example/
env:
CI: true