Update cicd
Обновление базы / restart-container (push) Failing after 2m6s
Details
Обновление базы / restart-container (push) Failing after 2m6s
Details
This commit is contained in:
parent
b8fef5d0af
commit
12f5fb8912
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: ubuntu-latest
|
||||
steps:
|
||||
- name: Обновляю сайт
|
||||
environment:
|
||||
CONTAINER_NAME: ${{ secrets.CONTAINER_ID }}
|
||||
run: |
|
||||
docker restart "${CONTAINER_NAME}"
|
Loading…
Reference in New Issue