name: Deploy bot on: push: branches: - main jobs: build-and-deploy: env: TOKEN: ${{ secrets.TOKEN }} PREFIX: ${{ secrets.PREFIX }} steps: - name: Checkout code uses: actions/checkout@v3 - name: Deploy with Docker Compose run: | docker compose down docker compose up -d --build