Skip to content

Commit 472cccc

Browse files
committed
Deploy older version
1 parent f808e66 commit 472cccc

File tree

4 files changed

+6
-12
lines changed

4 files changed

+6
-12
lines changed

.github/workflows/pr-deploy-and-comment.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
fetch-depth: 0
1818

1919
- name: Setup Hugo
20-
uses: peaceiris/actions-hugo@v2
20+
uses: peaceiris/actions-hugo@v2
2121
with:
22-
hugo-version: 'latest'
22+
hugo-version: 'v0.100.0'
2323
extended: true
24-
24+
2525
- name: Temp config
2626
run: |
2727
echo url_latest_version = \"https://docs-test.viam.dev/${{ github.sha }}/public\" > config_pr.toml

Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ build-prod: clean setup
1818
build-pr: clean setup
1919
hugo $(PR_OPTIONS)
2020

21+
build-pr-no-clean: setup
22+
hugo $(PR_OPTIONS)
23+
2124
serve-prod: setup
2225
hugo server $(PROD_OPTIONS) $(SERVE_OPTIONS)
2326

config.toml

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ anchor = "smart"
3131
[languages]
3232
[languages.en]
3333
title = "Viam Documentation"
34-
description = "Viam Documentation"
3534
languageName ="English"
3635
weight = 1
3736

layouts/partials/head.html

-8
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,3 @@
4545

4646
{{ partial "hooks/head-end.html" . -}}
4747

48-
{{/* To comply with GDPR, cookie consent scripts places in head-end must execute before Google Analytics is enabled */ -}}
49-
{{ if hugo.IsProduction -}}
50-
{{ if hasPrefix .Site.GoogleAnalytics "G-" -}}
51-
{{ template "_internal/google_analytics.html" . -}}
52-
{{ else -}}
53-
{{ template "_internal/google_analytics_async.html" . -}}
54-
{{ end -}}
55-
{{ end -}}

0 commit comments

Comments
 (0)