Skip to content

Analytics

Analytics #46

name: "Deploy to GitHub Pages"
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "0.133.0"
extended: true
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.ghpat }}
publish_dir: ./public
cname: digitalevidencetoolkit.org