name: Deploy bot with docker-compose on: push: tags: - "*" jobs: deploy-bot: runs-on: ubuntu-latest name: Deploy Vanity Bot env: API_TOKEN: ${{ secrets.API_TOKEN }} GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} steps: - name: Check out uses: actions/checkout@v3 with: lfs: "true" - name: Deploy compose uses: wshihadeh/docker-deployment-action@v2 with: remote_docker_host: ${{ secrets.REMOTE_HOST }} ssh_private_key: ${{ secrets.PRIVATE_KEY }} ssh_public_key: ${{ secrets.PUBLIC_KEY }} deployment_mode: docker-compose stack_file_name: docker/compose.yaml args: up -d --force-recreate --build docker_prune: "true" pull_images_first: "false"