|
28 | 28 | - name: Set date |
29 | 29 | id: date_step |
30 | 30 | run: echo "docdate=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT |
31 | | - |
| 31 | + |
| 32 | + tagging_update: |
| 33 | + name: Update OSMP & Documentation |
| 34 | + runs-on: ubuntu-22.04 |
| 35 | + needs: [setup] |
| 36 | + steps: |
| 37 | + - name: Update OSMP |
| 38 | + uses: peter-evans/repository-dispatch@v2 |
| 39 | + with: |
| 40 | + token: ${{ secrets.MACHINE_USER_PAT }} |
| 41 | + event-type: update-tag |
| 42 | +# repository: OpenSimulationInterface/osi-sensor-model-packaging |
| 43 | + repository: philipwindecker/osi-sensor-model-packaging |
| 44 | + client-payload: '{"tag": "${{needs.setup.outputs.output1}}-antora"}' |
| 45 | + - name: Update Documentation |
| 46 | + uses: peter-evans/repository-dispatch@v2 |
| 47 | + with: |
| 48 | + token: ${{ secrets.MACHINE_USER_PAT }} |
| 49 | + event-type: update-tag |
| 50 | +# repository: OpenSimulationInterface/osi-documentation |
| 51 | + repository: philipwindecker/osi-documentation |
| 52 | + client-payload: '{"tag": "${{needs.setup.outputs.output1}}-antora"}' |
| 53 | + |
32 | 54 | ## Antora job, responsible for creating the Antora output of the release |
33 | 55 | antora: |
34 | 56 | name: Generate Antora content |
|
38 | 60 | - name: Checkout Antora generator |
39 | 61 | uses: actions/checkout@v3 |
40 | 62 | with: |
41 | | - repository: OpenSimulationInterface/osi-antora-generator |
| 63 | +# repository: OpenSimulationInterface/osi-antora-generator |
| 64 | + repository: philipwindecker/osi-antora-generator |
42 | 65 | path: antora |
43 | 66 | submodules: true |
44 | 67 | # Remove building branches for the main repositories. This will lead to Antora only using the tagged versions to build its content. |
|
50 | 73 | - name: Create run instructions |
51 | 74 | run: | |
52 | 75 | echo "#!/bin/bash |
53 | | - |
54 | 76 | cd antora |
55 | 77 | exec antora --stacktrace --fetch --clean site.yml" > antora.sh |
56 | 78 | cat antora.sh |
|
82 | 104 | - name: Checkout sensor model packaging |
83 | 105 | uses: actions/checkout@v3 |
84 | 106 | with: |
85 | | - repository: OpenSimulationInterface/osi-sensor-model-packaging |
| 107 | +# repository: OpenSimulationInterface/osi-sensor-model-packaging |
| 108 | + repository: philipwindecker/osi-sensor-model-packaging |
86 | 109 | path: dist/osi-sensor-model-packaging |
87 | 110 | # Retrieve the Antora artifact from the previous job |
88 | 111 | - name: Retrieve Antora artifact |
|
0 commit comments