This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch preview/sebb-gha
in repository https://gitbox.apache.org/repos/asf/openoffice-project.git
The following commit(s) were added to refs/heads/preview/sebb-gha by this push:
new 1f08c5f Show environment
1f08c5f is described below
commit 1f08c5f031dc52eba5b35ab0280f1b623b9b2318
Author: Sebb <[email protected]>
AuthorDate: Thu May 30 11:35:08 2024 +0100
Show environment
---
pelicanconf.yaml | 6 ++++++
show_environ.sh | 11 +++++++++++
2 files changed, 17 insertions(+)
diff --git a/pelicanconf.yaml b/pelicanconf.yaml
index f31cc1d..cb9f4be 100644
--- a/pelicanconf.yaml
+++ b/pelicanconf.yaml
@@ -14,6 +14,12 @@ plugins:
use:
- gfm
+setup:
+ run:
+ - /bin/bash show_environ.sh
+ postrun:
+ - /bin/bash show_environ.sh
+
genid:
unsafe: yes
elements: yes
diff --git a/show_environ.sh b/show_environ.sh
new file mode 100644
index 0000000..b5a15f3
--- /dev/null
+++ b/show_environ.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+
+set -x
+echo '++++++++++++++++++++++++++++++++++++++++++++'
+export
+ls -al
+pip list
+python3 -m pelican --version
+which -a pelican
+python3 -V
+echo '--------------------------------------------'