Skip to content

Merge pull request #4 from digitalevidencetoolkit/feat/move-docs #44

Merge pull request #4 from digitalevidencetoolkit/feat/move-docs

Merge pull request #4 from digitalevidencetoolkit/feat/move-docs #44

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.85.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