Skip to content

added badge for certificate #479

added badge for certificate

added badge for certificate #479

Workflow file for this run

name: github-pages-deploy
on:
push:
branches:
- master # Set a branch to deploy
env:
SITE_PATH: mysite
jobs:
build-and-deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 2 # Fetch all history for .GitInfo and .Lastmod
- name: setup hugo
uses: peaceiris/[email protected]
with:
hugo-version: 'latest'
extended: true
- name: update hugo modules
working-directory: ${{ env.SITE_PATH }}
run: hugo mod tidy
- name: setup node
uses: actions/[email protected]
with:
node-version: 18
- name: install node modules
working-directory: ${{ env.SITE_PATH }}
run: |
hugo mod npm pack
npm install
- name: build
run: |
hugo --minify -s ${{ env.SITE_PATH }} -d ../public
- name: deploy
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
publish_branch: gh-pages