fix: workflows

This commit is contained in:
JinMao 2022-10-13 07:51:18 +08:00
parent 61aefcaa65
commit 6faacd2d85

View File

@ -24,7 +24,7 @@ jobs:
- name: use Node.js 16 - name: use Node.js 16
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: '16.x' node-version: 16
- name: Get yarn cache - name: Get yarn cache
id: yarn-cache id: yarn-cache
@ -45,8 +45,6 @@ jobs:
- name: Deploy - name: Deploy
uses: SamKirkland/FTP-Deploy-Action@4.3.2 uses: SamKirkland/FTP-Deploy-Action@4.3.2
with:
node-version: '16.x'
env: env:
FTP_SERVER: ${{ secrets.FTP_SERVER }} FTP_SERVER: ${{ secrets.FTP_SERVER }}
FTP_USERNAME: ${{ secrets.FTP_USERNAME }} FTP_USERNAME: ${{ secrets.FTP_USERNAME }}