SiteKB/.gitea/workflows/gitea.yml

24 lines
417 B
YAML
Raw Normal View History

2024-11-05 20:30:09 +00:00
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