From 1750136820308c3cfd3423dcee6434ce0a238ed2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Volker=20D=C3=B6rr?= <68968598+volkerdoerr@users.noreply.github.com> Date: Thu, 19 Oct 2023 19:09:30 +0200 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8952b8d..4f71422 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,11 +13,12 @@ env: GH_TOKEN: ${{ github.token }} jobs: - convert-and-deploy: + + convert-test-files: runs-on: ubuntu-latest permissions: write-all steps: - - name: Checkout + - name: Checkout repository uses: actions/checkout@v3 - name: Convert polarion files run: | @@ -25,7 +26,19 @@ jobs: chmod +x gpc ./gpc ./input/filelist.txt ./output rm gpc - - name: Deploy conversion output + + convert-production-files: + runs-on: ubuntu-latest + permissions: write-all + steps: + - name: Convert polarion files from gemspec.dev.ccs.gematik.solutions/docs/ + run: | + gh release download wip --pattern 'gpc' + chmod +x gpc + mkdir -p ./output + ./gpc https://gemspec.dev.ccs.gematik.solutions/docs/filelist.txt ./output + rm gpc + - name: Deploy conversion output to gemspec.online run: | mkdir ~/.ssh ssh-keyscan -H ssh.strato.de >> ~/.ssh/known_hosts