Init Plausible module during build
Some checks failed
/ deploy (push) Failing after 1m45s

Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
This commit is contained in:
Sergio Durigan Junior 2024-09-14 18:56:47 -04:00
parent 1b66d7e9f2
commit 23bfba4871
Signed by: sergiodj
GPG key ID: D0EB762865FC5E36
2 changed files with 3 additions and 4 deletions

View file

@ -28,7 +28,9 @@ jobs:
chmod 0700 ~/.ssh chmod 0700 ~/.ssh
chmod 0700 ~/.ssh/id_rsa chmod 0700 ~/.ssh/id_rsa
- name: Prepare modules - name: Prepare modules
run: /usr/bin/hugo mod get -u run: |
/usr/bin/hugo mod init github.com/divinerites/plausible-hugo
/usr/bin/hugo mod get -u
- name: Run Hugo - name: Run Hugo
run: /usr/bin/hugo --logLevel info run: /usr/bin/hugo --logLevel info
- name: Run rsync - name: Run rsync

3
go.mod
View file

@ -1,3 +0,0 @@
module github.com/divinerites/plausible-hugo
go 1.22.5