Skip to content

Commit

Permalink
Stop sending the config via secret
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeto143 authored May 8, 2024
1 parent 0acee9c commit 5776bb4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ env:
SERVICE_NAME: 5m5v-bot
DEPLOY_HOST: 206.189.96.198
DEPLOY_USER: deploy
BOT_CONFIG: ${{ secrets.BOT_CONFIG }}

jobs:
deploy:
Expand Down Expand Up @@ -54,7 +53,6 @@ jobs:
ssh -o StrictHostKeyChecking=no ${DEPLOY_USER}@${DEPLOY_HOST} -C
"
mkdir -p \${HOME}/${SERVICE_NAME} &&
echo \"${BOT_CONFIG}\" > \${HOME}/${SERVICE_NAME}/.env &&
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin &&
docker pull ${{ steps.meta.outputs.tags }} &&
docker rm -f ${SERVICE_NAME} &&
Expand Down

0 comments on commit 5776bb4

Please sign in to comment.