From 1ae84856bc7e6d528f9b91919c8fede8b944cbf2 Mon Sep 17 00:00:00 2001 From: rober Date: Fri, 29 Dec 2023 14:09:03 +0000 Subject: [PATCH] Actualizar '.github/workflows/main.yml' --- .github/workflows/main.yml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 626c57d..6f464b2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,20 +12,7 @@ jobs: run: | curl -L "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz" --output hugo.tar.gz tar -xvzf hugo.tar.gz - mv hugo /usr/local/bin - - name: Add SSH key - env: - SSH_AUTH_SOCK: /tmp/ssh_agent.sock - run: | - mkdir -p /home/runner/.ssh - # Replace example.com with the hostname of the machine - # you're SSH-ing into - ssh-keyscan robertops.com >> /home/runner/.ssh/known_hosts - # DOKKU_SSH_KEY is the name of the repository secret - echo "${{ secrets.CLAVE_SSH }}" > /home/runner/.ssh/github_actions - chmod 600 /home/runner/.ssh/github_actions - ssh-agent -a $SSH_AUTH_SOCK > /dev/null - ssh-add /home/runner/.ssh/github_actions + mv hugo /usr/local/bin - shell: bash env: clave_ssh: ${{ secrets.CLAVE_SSH }}