Updated ftp worflow to fix password issue
Some checks failed
🚀 Deploy website on push / 🎉 Deploy (push) Failing after 3s

Signed-off-by: Rohit Pai <rodude123@cloud.rohitpai.co.uk>
This commit is contained in:
Rohit Pai 2023-10-20 10:06:05 +01:00
parent 2cf281bce6
commit f90ae7dbec

View File

@ -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/