debug3
CICD / Explore-Gitea-Actions (push) Failing after 1m1s
Details
CICD / Explore-Gitea-Actions (push) Failing after 1m1s
Details
This commit is contained in:
parent
05c9960e0c
commit
8d9fe0dcca
|
|
@ -14,7 +14,7 @@ jobs:
|
||||||
which hugo || true
|
which hugo || true
|
||||||
apt update
|
apt update
|
||||||
cat /etc/os-release
|
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
|
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
|
dpkg -i hugo_0.163.3_linux-amd64.deb
|
||||||
apt update
|
apt update
|
||||||
|
|
@ -61,8 +61,12 @@ jobs:
|
||||||
echo "----"
|
echo "----"
|
||||||
set -x
|
set -x
|
||||||
echo aws cloudfront create-invalidation --distribution-id EWYXMJ6L92Q6I --paths $paths | base64 -w 0
|
echo aws cloudfront create-invalidation --distribution-id EWYXMJ6L92Q6I --paths $paths | base64 -w 0
|
||||||
aws --version
|
cat << EOF > myaction.sh
|
||||||
aws cloudfront create-invalidation help | cat
|
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
|
aws cloudfront create-invalidation --distribution-id EWYXMJ6L92Q6I --paths $paths
|
||||||
if: gitea.ref == 'refs/heads/main'
|
if: gitea.ref == 'refs/heads/main'
|
||||||
env: # Or as an environment variable
|
env: # Or as an environment variable
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue