From 2050710ff049bd264ce3c18ebd2dd29f1bfcc615 Mon Sep 17 00:00:00 2001 From: subochev Date: Thu, 7 May 2026 00:46:20 +0300 Subject: [PATCH] rename git repository --- .gitea/workflows/publish-docs.yaml | 36 ++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .gitea/workflows/publish-docs.yaml diff --git a/.gitea/workflows/publish-docs.yaml b/.gitea/workflows/publish-docs.yaml new file mode 100644 index 0000000..befaadf --- /dev/null +++ b/.gitea/workflows/publish-docs.yaml @@ -0,0 +1,36 @@ +name: 'Publish Documents' +on: + workflow_dispatch: + inputs: + branch: + description: 'Ветка' + required: true + type: string + default: master +jobs: + deploy-dev: + name: 'Deploy to dev' + runs-on: ubuntu-latest + steps: + - name: 'Print Info' + run: | + echo "Branch: ${{ github.event.inputs.branch }}" + - name: Cloning + uses: https://git.binom.pw/otp/devops/clone@main + with: + ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} + repository: 'devspc/docs' + branch: ${{ github.event.inputs.branch }} + - uses: https://git.binom.pw/otp/devops/config-gradle@main + - uses: https://git.binom.pw/otp/devops/setup-gradle@main + - name: Setup Jvm + uses: actions/setup-java@v4 + with: + java-version: 21 + distribution: "adopt" + - name: Downloading generator + run: | + curl http://nexus.xx/repository/jars/confluence-publisher.jar > confluence-publisher.jar + - name: Publishing + run: | + java -jar confluence-publisher.jar --confluence-url http://192.168.76.136 --token '${{ secrets.CONFLUENCE_TOKEN }}' -f **/*.md \ No newline at end of file