Update cicd
Обновление базы / restart-container (push) Waiting to run
Details
Обновление базы / restart-container (push) Waiting to run
Details
This commit is contained in:
parent
b8fef5d0af
commit
e057e5d0f5
Binary file not shown.
|
@ -1,16 +0,0 @@
|
||||||
name: Обновление сайта базы знаний
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
site_update:
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- name: Обновляю сайт
|
|
||||||
run: |
|
|
||||||
docker container restart "$CONTAINER_ID"
|
|
||||||
env:
|
|
||||||
TOKEN: ${{ secrets.CONTAINER_ID }}
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
name: Обновление базы
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
restart-container:
|
||||||
|
runs-on: self-hosted
|
||||||
|
steps:
|
||||||
|
- name: Обновляю сайт
|
||||||
|
environment:
|
||||||
|
CONTAINER_NAME: ${{ secrets.CONTAINER_ID }}
|
||||||
|
run: |
|
||||||
|
docker restart "${CONTAINER_NAME}"
|
Loading…
Reference in New Issue