From 1995583fbb0623e9b6a7a460e372beb81dd4d6ae Mon Sep 17 00:00:00 2001 From: oliveregger Date: Wed, 15 May 2024 16:40:16 +0200 Subject: [PATCH] fix repo name --- .github/workflows/publish_ig.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish_ig.yml b/.github/workflows/publish_ig.yml index ed95936..dc07002 100644 --- a/.github/workflows/publish_ig.yml +++ b/.github/workflows/publish_ig.yml @@ -5,6 +5,9 @@ on: release: types: - created + push: + branches: + - '**' # The following jobs are equal for all IGs and can be moved to a common composite-action if 'uses'-support is added, see: # https://github.com/actions/runner/blob/main/docs/adrs/1144-composite-actions.md @@ -34,11 +37,16 @@ jobs: with: repository: ${{ github.repository }} + - name: Get the repo name + id: repo_name + run: echo "::set-output name=repo::$(echo ${{ github.repository }} | cut -d '/' -f 2)" + shell: bash + # Builds the HTML page for the IG. - name: 🏃‍♂️ Run IG Publisher timeout-minutes: 45 # We need a long timeout here run : | - cd ./${{ github.repository }} + cd ./${{ steps.repo_name.outputs.repo }} java -Xmx8192m -jar ../publisher.jar -ig . cd ..