Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- irshad | |
name: 🚀 Deploy website on push | |
jobs: | |
web-deploy: | |
name: 🎉 Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🚚 Get latest code | |
uses: actions/checkout@v4 | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "18" | |
- name: 🔨 Build Assets | |
run: | | |
npm install | |
npm run build | |
- name: 📂 Sync files | |
uses: SamKirkland/[email protected] | |
with: | |
server: ftp.irshadenglishschool.in | |
username: [email protected] | |
password: ${{ secrets.password }} | |
server-dir: admission.irshadenglishschool.in/ |