Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
volkerdoerr authored Oct 19, 2023
1 parent 8890f45 commit eed7e36
Showing 1 changed file with 22 additions and 20 deletions.
42 changes: 22 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,23 +47,25 @@ jobs:
message: "rolling: work in progress"
force_push_tag: true

# convert-production-files:
# needs: update-tag
# 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
# sshpass -p ${{secrets.SFTP_PASSWORD}} sftp ${{secrets.SFTP_USERNAME}}@ssh.strato.de << !
# PUT -R ./output/*
# BYE
# !
convert-production-files:
needs: update-tag
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
sshpass -p ${{secrets.SFTP_PASSWORD}} sftp ${{secrets.SFTP_USERNAME}}@ssh.strato.de << !
PUT -R ./output/*
BYE
!

0 comments on commit eed7e36

Please sign in to comment.