Rohit Pai
2cb1b30439
Some checks failed
🚀 Deploy website on push / 🎉 Deploy (push) Failing after 28s
Signed-off-by: Rohit Pai <rodude123@cloud.rohitpai.co.uk>
29 lines
639 B
YAML
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/
|