Skip to content

Merge pull request #1 from altugbakan/v2 #1

Merge pull request #1 from altugbakan/v2

Merge pull request #1 from altugbakan/v2 #1

Workflow file for this run

on:
push:
branches:
- main
name: πŸš€ Deploy website
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/
dangerous-clean-slate: true
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}