Files
personal-site/.github/workflows/publish.yml
T
dependabot[bot] 54a1d346c8 Bump actions/checkout from 3 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-23 16:28:48 +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@v2
with:
hugo-version: '0.150.1'
extended: true
- name: build
run: hugo --minify --destination ./build
- name: publish
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
with:
server: ${{secrets.FTP_HOST}}
username: ${{secrets.FTP_USERNAME}}
password: ${{secrets.FTP_PASSWORD}}
local-dir: ./build/
port: 21
protocol: ftps