mirror of
https://github.com/jwetzell/personal-site.git
synced 2026-08-14 11:43:41 +00:00
9bb2ad346e
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>
30 lines
699 B
YAML
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
|