Skip to content

new blog

new blog #1051

name: build-and-deploy
on: push
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- name: Git checkout
uses: actions/[email protected]
- name: Setup hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.122.0'
extended: true
- name: Build
# remove --minify tag if you do not need it
# docs: https://gohugo.io/hugo-pipes/minification/
run: hugo
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.TOKEN }}
external_repository: cloudnativeto/cloudnativeto.github.io
publish_dir: ./public
# keep_files: true
publish_branch: master
cname: cloudnative.to