Skip to content

Add Hello ShokoRelay Blog Post. #11

Add Hello ShokoRelay Blog Post.

Add Hello ShokoRelay Blog Post. #11

Workflow file for this run

name: Build, Deploy & Upload
on:
push:
branches:
- master
jobs:
Hugo-Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
# extended: true
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
FTP-Deploy-Action:
name: FTP-Deploy-Action
runs-on: ubuntu-latest
needs:
- Hugo-Build
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
ref: 'gh-pages'
- name: FTP-Deploy-Action
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}