github.com/ethersphere/bee/v2@v2.2.0/.github/workflows/release_triggers.yaml (about) 1 name: Workflow that triggers after-release actions 2 3 on: 4 workflow_run: 5 workflows: ["Release"] 6 types: 7 - completed 8 9 jobs: 10 notify: 11 runs-on: ubuntu-latest 12 if: ${{ github.event.workflow_run.conclusion == 'success' }} 13 steps: 14 - name: Get the released tags version 15 id: get-version 16 run: | 17 REF="${{ github.event.workflow_run.head_branch }}" 18 echo ::set-output name=VERSION::${REF/refs\/tags\//} 19 - name: Trigger Bee Factory image build 20 uses: peter-evans/repository-dispatch@v1 21 with: 22 token: ${{ secrets.GHA_PAT_BASIC }} 23 repository: ethersphere/bee-factory 24 event-type: build-images 25 client-payload: '{"tag": "${{ steps.get-version.outputs.VERSION }}"}' 26 - name: Trigger repo publishing 27 uses: peter-evans/repository-dispatch@v1 28 with: 29 token: ${{ secrets.GHA_PAT_BASIC }} 30 repository: ethersphere/repos 31 event-type: publish-repos 32 client-payload: '{"package": "bee", "tag": "${{ steps.get-version.outputs.VERSION }}"}'