my-portfolio/.github/workflows/ftpDeploy.yml
Rohit Pai 2cb1b30439
Some checks failed
🚀 Deploy website on push / 🎉 Deploy (push) Failing after 28s
Updated ftp worflow
Signed-off-by: Rohit Pai <rodude123@cloud.rohitpai.co.uk>
2023-10-20 09:34:31 +01:00

29 lines
639 B
YAML

on: push
name: 🚀 Deploy website on push
jobs:
web-deploy:
name: 🎉 Deploy
runs-on: ubuntu-22.04
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v2
- name: Use Node.js 12
uses: actions/setup-node@v2-beta
with:
node-version: '12'
- name: 🔨Run Gulp
run: |
export github="true"
npm install
npm start
- name: 📂 Sync files
uses: sebastianpopp/ftp-action@releases/v2
with:
host: ftp.rohitpai.co.uk
user: u987021215.rodude123
password: $${{ FTPPASSWORD }}
localDir: ./dist/