Skip to content

code cleanup

code cleanup #10

Workflow file for this run

on: push
name: πŸš€ Deploy website on push
jobs:
web-deploy:
name: πŸŽ‰ Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v2
- name: Use Node.js 16
uses: actions/setup-node@v2-beta
with:
node-version: "16"
- name: πŸ”¨ Build Project
run: |
npm install
npm run build
- name: List output files
run: find build/ -print
- name: πŸ“‚ Sync files
uses: SamKirkland/[email protected]
with:
server: ftp.mathangan.com
username: u391922181.brightmathan
password: ${{ secrets.FTP_PASSWORD }}
local-dir: build/