pipelines: default: - name: Обновляю сайт image: docker:latest services: - docker commands: - docker restart "$CONATAINER_ID" when: branch: - main env: TOKEN: ${{ secrets.CONTAINER_ID }} services: docker: image: docker:latest volumes: - /var/run/docker.sock:/var/run/docker.sock