Skip to content

fix resolve Jekyll URL and content rendering bugs #5

fix resolve Jekyll URL and content rendering bugs

fix resolve Jekyll URL and content rendering bugs #5

Workflow file for this run

name: Build Jekyll and Deploy via FTP
on:
push:
branches: ["main"]
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2.2'
bundler-cache: true
- name: Build Jekyll
run: bundle exec jekyll build --baseurl ""
env:
JEKYLL_ENV: production
- name: Deploy via FTP
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
protocol: ftps
port: ${{ secrets.FTP_PORT }}
local-dir: ./_site/
server-dir: /
dangerous-clean-slate: false