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