Updated ftp worflow to fix password issue
Some checks failed
🚀 Deploy website on push / 🎉 Deploy (push) Failing after 3s
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:
parent
2cf281bce6
commit
f90ae7dbec
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