From 8d9fe0dccaefbd2cddb3aad911c5461cae601758 Mon Sep 17 00:00:00 2001 From: Isaac Johnson Date: Thu, 25 Jun 2026 22:16:09 -0500 Subject: [PATCH] debug3 --- .gitea/workflows/cicd.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/cicd.yaml b/.gitea/workflows/cicd.yaml index 100c798..77864c4 100644 --- a/.gitea/workflows/cicd.yaml +++ b/.gitea/workflows/cicd.yaml @@ -14,7 +14,7 @@ jobs: which hugo || true apt update cat /etc/os-release - apt install -y ca-certificates curl gnupg unzip sudo + apt install -y ca-certificates curl gnupg unzip sudo groff wget https://github.com/gohugoio/hugo/releases/download/v0.163.3/hugo_0.163.3_linux-amd64.deb dpkg -i hugo_0.163.3_linux-amd64.deb apt update @@ -61,8 +61,12 @@ jobs: echo "----" set -x echo aws cloudfront create-invalidation --distribution-id EWYXMJ6L92Q6I --paths $paths | base64 -w 0 - aws --version - aws cloudfront create-invalidation help | cat + cat << EOF > myaction.sh + aws cloudfront create-invalidation --distribution-id EWYXMJ6L92Q6I --paths $paths + EOF + cat myaction.sh | base64 -w 0 + chmod 755 ./myaction.sh + ./myaction.sh aws cloudfront create-invalidation --distribution-id EWYXMJ6L92Q6I --paths $paths if: gitea.ref == 'refs/heads/main' env: # Or as an environment variable