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