46a01c471f
🚀 Deploy website on push / 🎉 Deploy (push) Failing after 27s
Signed-off-by: Rohit Pai <rodude123@cloud.rohitpai.co.uk>
29 lines
643 B
YAML
29 lines
643 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: airvzxf/ftp-deployment-action@latest
|
|
with:
|
|
server: ftp.rohitpai.co.uk
|
|
user: u987021215.rodude123
|
|
password: $${{ FTPPASSWORD }}
|
|
local_dir: "./dist"
|