diff --git a/.gitea/workflows/cicd.yaml b/.gitea/workflows/cicd.yaml index c7b601e..f2d21ba 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 + apt install -y ca-certificates curl gnupg unzip 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 @@ -28,9 +28,13 @@ jobs: - name: Install AWS CLI run: | - DEBIAN_FRONTEND=noninteractive apt update -y \ - && umask 0002 \ - && DEBIAN_FRONTEND=noninteractive apt install -y awscli + # DEBIAN_FRONTEND=noninteractive apt update -y \ + # && umask 0002 \ + # && DEBIAN_FRONTEND=noninteractive apt install -y awscli + + curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" + unzip awscliv2.zip + sudo ./aws/install --bin-dir /usr/local/bin --install-dir /usr/local/aws-cli --update - name: Sync to AWS run: |