From 20c9b4802ace7a42a075c1324155345bbad7738a Mon Sep 17 00:00:00 2001 From: rober Date: Fri, 29 Dec 2023 12:20:28 +0000 Subject: [PATCH] Actualizar '.github/workflows/main.yml' --- .github/workflows/main.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2d43707..4a84547 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,8 +6,13 @@ jobs: steps: - uses: actions/checkout@v3 - run: apt update && apt install -y openssh-client git rsync - - run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - - run: brew install hugo + - name: Setup Hugo + env: + HUGO_VERSION: 0.105.0 + run: | + curl -L "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz" --output hugo.tar.gz + tar -xvzf hugo.tar.gz + sudo mv hugo /usr/local/bin - shell: bash env: clave_ssh: ${{ secrets.CLAVE_SSH }}