Skip to content

添加pinpoint安装的博文 #215

添加pinpoint安装的博文

添加pinpoint安装的博文 #215

name: pages-auto-build-deploy
on:
# workflow_dispatch:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.126.1'
extended: true
- name: Build Hugo
run: hugo -b "https://lucumt.info/" -e "production"
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GH_PAGE_ACTION_TOKEN }}
publish_dir: ./public
commit_message: ${{ github.event.head_commit.message }}