debug3
CICD / Explore-Gitea-Actions (push) Failing after 1m1s Details

This commit is contained in:
Isaac Johnson 2026-06-25 22:16:09 -05:00
parent 05c9960e0c
commit 8d9fe0dcca
1 changed files with 7 additions and 3 deletions

View File

@ -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