Files
personal-site/.github/workflows/publish.yml
T
dependabot[bot] 349ee18d78 Bump actions/checkout from 6.0.3 to 7.0.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.3 to 7.0.1.
- [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/v6.0.3...v7.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-27 00:34:35 +00:00

30 lines
707 B
YAML

name: publish
on:
push:
branches:
- master
jobs:
build-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7.0.1
with:
submodules: "recursive"
- name: setup hugo
uses: peaceiris/actions-hugo@v3.2.1
with:
hugo-version: "0.163.0"
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