workflow-fix #43
14
.github/workflows/ftpDeploy.yml
vendored
14
.github/workflows/ftpDeploy.yml
vendored
@ -8,19 +8,21 @@ jobs:
|
||||
- name: 🚚 Get latest code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Use Node.js Latest
|
||||
- name: Use Node.js 12
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 'latest'
|
||||
- run: |
|
||||
node-version: 'latestFTPPASSWORD'
|
||||
|
||||
- name: 🔨Run Gulp
|
||||
run: |
|
||||
export github="true"
|
||||
npm install
|
||||
npm start
|
||||
|
||||
- name: 📂 Sync files
|
||||
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
|
||||
uses: SamKirkland/FTP-Deploy-Action@4.3.4
|
||||
with:
|
||||
server: ftp.rohitpai.co.uk
|
||||
username: u987021215.rodude123
|
||||
password: $${{ FTPPASSWORD }}
|
||||
local_dir: ./dist
|
||||
password: ${{ FTPPASSWORD }}
|
||||
local-dir: ./dist/
|
||||
|
Loading…
Reference in New Issue
Block a user