Update nodejs.yml
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user