Skip to content

Year update

Year update #19

Workflow file for this run

name: πŸš€ Deploy website
on:
push:
branches:
- main
jobs:
deploy:
name: πŸŽ‰ Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: "18"
- name: ⬇️ Install dependencies
run: npm install
- name: πŸ“¦ Build project
run: npm run build
- name: πŸ“‚ Sync files
uses: SamKirkland/[email protected]
with:
server: ftp.netim.hosting
local-dir: ./dist/
server-dir: ./public_www/
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}