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: strategy:
matrix: matrix:
node-version: [12.x] node-version: [14.x]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@@ -19,11 +19,10 @@ jobs:
- run: npm install - run: npm install
- run: npm run build --if-present - run: npm run build --if-present
- name: FTP Deploy - name: FTP Deploy
uses: SamKirkland/FTP-Deploy-Action@3.0.0 uses: SamKirkland/FTP-Deploy-Action@3.1.1
with: with:
ftp-server: ${{ secrets.ftp_server }} ftp-server: ${{ secrets.ftp_server }}
ftp-username: ${{ secrets.ftp_user }} ftp-username: ${{ secrets.ftp_user }}
ftp-password: ${{ secrets.ftp_pwd }} ftp-password: ${{ secrets.ftp_pwd }}
local-dir: var/www/example/
env: env:
CI: true CI: true