Skip to content

refactor: change SSG to Zola (#1) #14

refactor: change SSG to Zola (#1)

refactor: change SSG to Zola (#1) #14

# name: πŸš€ Build and deploy website on push
on:
push:
branches:
- main
jobs:
web-deploy:
name: πŸŽ‰ Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v2
- name: πŸ› οΈ Setup Zola
uses: taiki-e/install-action@v2
with:
tool: zola@0.19.1
- name: πŸ—οΈ Build website with Jekyll
run: zola build
- name: πŸ“‚ Sync files
uses: SamKirkland/FTP-Deploy-Action@4.3.0
with:
server: ${{ secrets.FTP_WEB_SERVER }}
username: ${{ secrets.FTP_USER_NAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: ./public/
server-dir: /www/weryskok.ru/
exclude: |
**/.git*
**/.git*/**
**/node_modules/**
**/files/**