SiteKB/.gitea/workflows/update.yml

17 lines
317 B
YAML
Raw Normal View History

2024-11-05 20:30:09 +00:00
name: Обновление базы
on:
push:
branches:
- main
jobs:
restart-container:
runs-on: ubuntu-latest
steps:
- name: Обновляю сайт
environment:
CONTAINER_NAME: ${{ secrets.CONTAINER_ID }}
run: |
docker restart "${CONTAINER_NAME}"