Skip to content

feat: add image to article #66

feat: add image to article

feat: add image to article #66

Workflow file for this run

name: kazlauskas.dev deployment
on:
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
web-deploy:
name: πŸš€ Deploy to kazlauskas.dev
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3
- name: πŸ“¦ Setup Node.js v18
uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
- name: πŸ”¨ Build website
run: |
npm ci
npm run build
- name: πŸ“‚ Sync files
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.ftp_server }}
username: ${{ secrets.ftp_username }}
password: ${{ secrets.ftp_password }}
local-dir: ./build/
server-dir: public_html/