From 97870788a049fa32d2f82692d4448840aed5db1a Mon Sep 17 00:00:00 2001 From: Alexander Dyuzhev Date: Sun, 3 Oct 2021 21:44:30 +0300 Subject: [PATCH] release.yml restored --- .github/workflows/release.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e4c7d966..48dbaf17 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,13 +28,13 @@ jobs: - run: make test -# - name: Deploy to Maven -# env: -# # for deploy mn2pdf -# GITHUB_PUBLISH_TOKEN: ${{ secrets.METANORMA_CI_PAT_TOKEN }} -# GITHUB_PUBLISH_USERNAME: metanorma-ci -# run: | -# make deploy + - name: Deploy to Maven + env: + # for deploy mn2pdf + GITHUB_PUBLISH_TOKEN: ${{ secrets.METANORMA_CI_PAT_TOKEN }} + GITHUB_PUBLISH_USERNAME: metanorma-ci + run: | + make deploy - name: Create Release id: create_release @@ -63,10 +63,10 @@ jobs: asset_name: mn2pdf-${{ steps.get_version.outputs.VERSION }}.jar asset_content_type: application/java-archive -# - name: Notify mn2pdf-ruby -# uses: peter-evans/repository-dispatch@v1 -# with: -# token: ${{ secrets.METANORMA_CI_PAT_TOKEN }} -# repository: metanorma/mn2pdf-ruby -# event-type: metanorma/mn2pdf -# client-payload: '{ "ref": "${{ github.ref }}" }' + - name: Notify mn2pdf-ruby + uses: peter-evans/repository-dispatch@v1 + with: + token: ${{ secrets.METANORMA_CI_PAT_TOKEN }} + repository: metanorma/mn2pdf-ruby + event-type: metanorma/mn2pdf + client-payload: '{ "ref": "${{ github.ref }}" }'