Rohit Pai
1b39c58f76
All checks were successful
🚀 Deploy website on push / 🎉 Deploy (push) Successful in 25s
Signed-off-by: Rohit Pai <rodude123@cloud.rohitpai.co.uk>
29 lines
666 B
YAML
29 lines
666 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@v3
|
|
|
|
- name: Use Node.js Latest
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 'latest'
|
|
|
|
- name: 🔨Run Gulp
|
|
run: |
|
|
export github="true"
|
|
npm install
|
|
npm start
|
|
|
|
- name: 📂 Sync files to server
|
|
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
|
|
with:
|
|
server: ftp.rohitpai.co.uk
|
|
username: u987021215.rodude123
|
|
password: ${{ secrets.FTPPASSWORD }}
|
|
local-dir: ./dist/
|