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 1750136 commit d9373a3
Showing 1 changed file with 27 additions and 19 deletions.
46 changes: 27 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,31 @@ jobs:
chmod +x gpc
./gpc ./input/filelist.txt ./output
rm gpc
- name: Commit changes in conversion output
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: generated by gpc
commit_user_name: volkerdoerr
commit_user_email: noreply@cascade.de
commit_author: Volker Doerr <vd@cascade.de>
commit_options: '--signoff'

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

0 comments on commit d9373a3

Please sign in to comment.