name: Deploy bot on: push: branches: - main jobs: build-and-deploy: env: TOKEN: ${{ secrets.TOKEN }} PREFIX: ${{ secrets.PREFIX }} COMPOSE_PROFILES: "*" steps: - name: Checkout code uses: actions/checkout@v3 - name: Build containers run: bash ./containers-build.sh - name: Restart containers run: docker compose up -d --force-recreate