Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
iljavaleev committed Jun 16, 2024
1 parent 1a838e1 commit d364289
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
passphrase: ${{ secrets.PASSPHRASE }}
script: |
touch .env
cd ${{ secrets.DEPLOY_PATH }}
cd /home/iljavaleev
echo "BOT_TOKEN=${{ secrets.BOT_TOKEN }}" > .env
echo POSTGRES_USER=${{ secrets.POSTGRES_USER }} >> .env
echo POSTGRES_PASSWORD=${{ secrets.POSTGRES_PASSWORD }} >> .env
Expand All @@ -62,9 +62,9 @@ jobs:
echo ADMIN_CHAT_ID=${{ secrets.ADMIN_CHAT_ID }} >> .env
echo NGROK_AUTHTOKEN=${{ secrets.NGROK_AUTHTOKEN }} >> .env
echo BASE_WEBHOOK_URL=${{ secrets.BASE_WEBHOOK_URL }} >> .env
sudo docker-compose down
sudo docker compose down
sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/cppbot:v1
sudo docker-compose up -d --build
sudo docker compose up -d --build
sudo docker system prune -af
send_message:
Expand Down

0 comments on commit d364289

Please sign in to comment.