Skip to content

Adding a google analytics tracking on the hugo website. #126

Adding a google analytics tracking on the hugo website.

Adding a google analytics tracking on the hugo website. #126

Workflow file for this run

name: Publish Hugo Documentation On New Tag
on:
push:

Check failure on line 3 in .github/workflows/hugo.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/hugo.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
branches:
# - master
# Update for given branch for one of releases, otherwise only release on tags
- feature/docsFixes
tags:
- v*
jobs:
deployHugoPages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
extended: true
- name: NPM Dependencies
run: |
cd website && npm install
- name: NPM Dependencies
run: npm install postcss postcss-cli autoprefixer
- name: Build
run: |
cd website && npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website/public