Skip to content

Commit

Permalink
Fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeto143 committed Mar 1, 2024
1 parent 7d9e097 commit 45f8a1a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}

- name: Deploy bot to Docker droplet
run: |
eval `ssh-agent -s`
ssh-add - <<< "${{ secrets.DEPLOY_PRIVATE_KEY }}"
run: >
eval `ssh-agent -s` &&
ssh-add - <<< "${{ secrets.DEPLOY_PRIVATE_KEY }}" &&
ssh -o StrictHostKeyChecking=no ${DEPLOY_USER}@${DEPLOY_HOST} -C
"
echo "${{ secrets.BOT_CONFIG }}" > \${HOME}/${SERVICE_NAME}/5m5v-config.yaml
echo \"${{ secrets.BOT_CONFIG }}\" > \${HOME}/${SERVICE_NAME}/5m5v-config.yaml
docker pull ${{ steps.meta.outputs.tags }} &&
docker rm -f ${SERVICE_NAME} &&
docker run -d \
Expand Down

0 comments on commit 45f8a1a

Please sign in to comment.