Skip to content

ci

ci #67

Workflow file for this run

name: ci
on:
workflow_dispatch:
push:
branches: [ "main" ]
paths: [ "input/**" ]
pull_request:
branches: [ "main" ]
paths: [ "input/**" ]
env:
GH_TOKEN: ${{ github.token }}
jobs:
convert-and-upload:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
- run: mkdir ~/.ssh
- run: ssh-keyscan -H ssh.strato.de >> ~/.ssh/known_hosts
- run: sftp [email protected]@ssh.strato.de
- run: sshpass -p 573693147468 sftp [email protected]@ssh.strato.de
#- name: Convert polarion files
# run: gh release download wip --pattern 'gpc'
#- run: chmod +x gpc
#- run: ./gpc ./input/filelist.txt ./output
#- run: rm gpc
#- name: Deploy to gemspec.online
# uses: wlixcc/[email protected]
# with:
# server: ${{ secrets.GEMSPEC_ONLINE_SFTP_SERVER }}
# port: ${{ secrets.GEMSPEC_ONLINE_SFTP_PORT }}
# username: ${{ secrets.GEMSPEC_ONLINE_SFTP_USERNAME }}
# password: ${{ secrets.GEMSPEC_ONLINE_SFTP_PASSWORD }}
# local_path: './output/*'
# remote_path: '/output/'
# sftp_only: true
# # delete_remote_files: true