diff --git a/.github/workflows/node-prod.yml b/.github/workflows/node-prod.yml index a5a8932e..cfc5a06f 100644 --- a/.github/workflows/node-prod.yml +++ b/.github/workflows/node-prod.yml @@ -96,8 +96,8 @@ jobs: SSH_AGENT_EVAL=$(ssh-agent -s) eval "$SSH_AGENT_EVAL" ssh-add - <<< "${{ secrets.DEPLOY_PRIVATE_KEY }}" - echo "ssh-agent-eval=$SSH_AGENT_EVAL" >> "$GITHUB_OUTPUT" - echo "ssh-agent-pid=$SSH_AGENT_PID" >> "$GITHUB_OUTPUT" + echo "::set-output name=ssh-agent-eval::$SSH_AGENT_EVAL" + echo "::set-output name=ssh-agent-pid::$SSH_AGENT_PID" mkdir -p ~/.ssh echo "${{ secrets.DEPLOY_HOST_KEY }}" > ~/.ssh/known_hosts chmod -R g-rwx,o-rwx ~/.ssh diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 592dd4ad..b0d9a365 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -141,8 +141,8 @@ jobs: SSH_AGENT_EVAL=$(ssh-agent -s) eval "$SSH_AGENT_EVAL" ssh-add - <<< "${{ secrets.DEPLOY_PRIVATE_KEY }}" - echo "ssh-agent-eval=$SSH_AGENT_EVAL" >> "$GITHUB_OUTPUT" - echo "ssh-agent-pid=$SSH_AGENT_PID" >> "$GITHUB_OUTPUT" + echo "::set-output name=ssh-agent-eval::$SSH_AGENT_EVAL" + echo "::set-output name=ssh-agent-pid::$SSH_AGENT_PID" mkdir -p ~/.ssh echo "${{ secrets.DEPLOY_HOST_KEY }}" > ~/.ssh/known_hosts chmod -R g-rwx,o-rwx ~/.ssh