my-portfolio/.github/workflows/ftpDeploy.yml
rodude123 afd7578ca6
Some checks failed
🚀 Deploy website on push / 🎉 Deploy (push) Failing after 41s
Updated workflow to fit gitea
2023-10-20 00:39:16 +01:00

29 lines
645 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: SamKirkland/FTP-Deploy-Action@4.1.0
with:
server: ftp.rohitpai.co.uk
username: u987021215.rodude123
password: $${{ FTPPASSWORD }}
local-dir: ./dist/