Files
personal-site/.github/workflows/publish.yml
T
dependabot[bot] 9bb2ad346e Bump SamKirkland/FTP-Deploy-Action from 4.3.6 to 4.4.0
Bumps [SamKirkland/FTP-Deploy-Action](https://github.com/samkirkland/ftp-deploy-action) from 4.3.6 to 4.4.0.
- [Release notes](https://github.com/samkirkland/ftp-deploy-action/releases)
- [Commits](https://github.com/samkirkland/ftp-deploy-action/compare/v4.3.6...v4.4.0)

---
updated-dependencies:
- dependency-name: SamKirkland/FTP-Deploy-Action
  dependency-version: 4.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-20 00:38:44 +00:00

30 lines
699 B
YAML

name: publish
on:
push:
branches:
- master
jobs:
build-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
submodules: 'recursive'
- name: setup hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.150.1'
extended: true
- name: build
run: hugo --minify --destination ./build
- name: publish
uses: SamKirkland/FTP-Deploy-Action@v4.4.0
with:
server: ${{secrets.FTP_HOST}}
username: ${{secrets.FTP_USERNAME}}
password: ${{secrets.FTP_PASSWORD}}
local-dir: ./build/
port: 21
protocol: ftps