DevOps
This commit is contained in:
@@ -15,12 +15,20 @@ jobs:
|
||||
- name: 'Print Info'
|
||||
run: |
|
||||
echo "Branch: ${{ github.event.inputs.branch }}"
|
||||
- name: Cloning
|
||||
- name: Cloning Documents
|
||||
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 }}
|
||||
target: './docs'
|
||||
- name: Cloning MQ
|
||||
uses: https://git.binom.pw/otp/devops/clone@main
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
repository: 'devspc/mq-starter'
|
||||
branch: ${{ github.event.inputs.branch }}
|
||||
target: './mq'
|
||||
- name: Setup Jvm
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
@@ -29,9 +37,12 @@ jobs:
|
||||
- name: Downloading generator
|
||||
run: |
|
||||
curl http://nexus.xx/repository/jars/confluence-publisher.jar > confluence-publisher.jar
|
||||
- name: Publishing
|
||||
- name: Publishing Documents
|
||||
run: |
|
||||
java -jar confluence-publisher.jar --confluence-url http://192.168.76.136 --token '${{ secrets.CONFLUENCE_TOKEN }}' -f '**/*.md'
|
||||
java -jar confluence-publisher.jar --confluence-url http://192.168.76.136 --token '${{ secrets.CONFLUENCE_TOKEN }}' -f '**/*.md' -r './docs'
|
||||
- name: Publishing MQ
|
||||
run: |
|
||||
java -jar confluence-publisher.jar --confluence-url http://192.168.76.136 --token '${{ secrets.CONFLUENCE_TOKEN }}' -f '**/*.md' -r './mq'
|
||||
- name: 'Cleanup'
|
||||
if: always()
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user