Skip to content

update workflow

update workflow #59

Workflow file for this run

name: ftp deploy
on:
push:
branches:
- source # Set a branch to deploy
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.120.4'
# extended: true
- name: Build
run: hugo --minify
- name: FTP Deploy
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_HOST }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: public/
server-dir: ./sites/zufrieden.io/
exclude: |
**/sharing/200*
**/sharing/201*
**/sharing/2020*
**/sharing/2021*