diff --git a/.gitea/worker.gpg b/.gitea/worker.gpg new file mode 100644 index 0000000..db351d6 Binary files /dev/null and b/.gitea/worker.gpg differ diff --git a/.gitea/workflows/pipeline.yml b/.gitea/workflows/pipeline.yml new file mode 100644 index 0000000..5b050ae --- /dev/null +++ b/.gitea/workflows/pipeline.yml @@ -0,0 +1,16 @@ +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 }}