Skip to content

publish htnn/api module (#253) #205

publish htnn/api module (#253)

publish htnn/api module (#253) #205

Workflow file for this run

name: build-and-deploy
on: push
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Setup hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.75.1'
extended: true
- run: npm install postcss-cli
- run: npm install
- 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:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: mosn/mosn.github.io
publish_dir: ./public
# keep_files: true
publish_branch: master