ci #69
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | | |
sshpass -p 573693147468 sftp [email protected]@ssh.strato.de << ! | |
LS | |
BYE | |
! | |
#- 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 | |