24 lines
417 B
YAML
24 lines
417 B
YAML
|
pipelines:
|
||
|
default:
|
||
|
- name: Обновляю сайт
|
||
|
image: docker:latest
|
||
|
services:
|
||
|
- docker
|
||
|
commands:
|
||
|
- docker restart "$CONATAINER_ID"
|
||
|
env:
|
||
|
TOKEN: ${{ secrets.CONTAINER_ID }}
|
||
|
|
||
|
actions:
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
pipelines:
|
||
|
- default
|
||
|
|
||
|
services:
|
||
|
docker:
|
||
|
image: docker:latest
|
||
|
volumes:
|
||
|
- /var/run/docker.sock:/var/run/docker.sock
|